From 41b7b03db2293f9f507b1c88586954f516be63fa Mon Sep 17 00:00:00 2001 From: z3APA3A <3APA3A@3proxy.ru> Date: Tue, 10 Oct 2017 18:21:50 +0300 Subject: [PATCH] updated to highload doc --- doc/html/highload.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/html/highload.html b/doc/html/highload.html index 22062dd..ee3e0d5 100644 --- a/doc/html/highload.html +++ b/doc/html/highload.html @@ -178,7 +178,9 @@ To avoid race conditions:
  1. Update config files only if there is no lock file
  2. Create lock file then 3proxy configuration is updated, e.g. with -"touch /some/path/3proxy/3proxy.lck" +"touch /some/path/3proxy/3proxy.lck". If you generate config files +asynchronously, e.g. by user's request via web, you should consider +implementing existance checking and file creation as atomic operation.
  3. add
     system "rm /some/path/3proxy/3proxy.lck"