From 45ce73bfda632ed276ec988b4aed137418126348 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 12 May 2015 17:10:55 +0200 Subject: [SERVER] Reload images in another thread when triggered by signal The server used to reload all images on the main thread, which is also responsible for accepting connections. While reloading the list, no new connections were accepted, which lead to clients marking the server as bad during their RTT measurements, then switching away from it. --- LOCKS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LOCKS') diff --git a/LOCKS b/LOCKS index e23f4c5..ea1cb45 100644 --- a/LOCKS +++ b/LOCKS @@ -13,7 +13,7 @@ have to be aquired if you must hold multiple locks: _clients_lock _clients[].lock integrityQueueLock -remoteCloneLock +remoteCloneLock | reloadLock _images_lock _images[].lock uplink.queueLock -- cgit v1.2.3-55-g7522