From da3e2419f3216aad1474f8b73863ae7cf32e9649 Mon Sep 17 00:00:00 2001 From: fanasina Date: Wed, 3 Sep 2025 12:05:41 +0200 Subject: [PATCH] add usleep before send file --- y_socket_t/src/y_socket_t/y_file_handler.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/y_socket_t/src/y_socket_t/y_file_handler.c b/y_socket_t/src/y_socket_t/y_file_handler.c index dd1f0f4..ca8c9a6 100644 --- a/y_socket_t/src/y_socket_t/y_file_handler.c +++ b/y_socket_t/src/y_socket_t/y_file_handler.c @@ -121,7 +121,8 @@ void* y_socket_send_file_for_all_nodes(void* arg){ return NULL; } - //y_send_post_file_to_all_nodes(arg); + y_send_post_file_to_all_nodes(arg); + usleep(100); //for(struct list_y_NODE_T *local_list_current = nodes->begin_list; local_list_current; local_list_current=local_list_current->next ) //memset(buf_send, 0, BUF_SIZE+1);