From 9c2bd0c522843c412acd4fc011369c4b30e98878 Mon Sep 17 00:00:00 2001 From: Ian Norton Date: Sun, 1 Jun 2014 08:03:13 +0100 Subject: [PATCH] sync stats far less --- CClash/CClashServer.cs | 13 +++---------- .../Express/DVD-5/DiskImages/DISK1/Setup.ini | Bin 5006 -> 5006 bytes cclash.v11.suo | Bin 292352 -> 286208 bytes 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/CClash/CClashServer.cs b/CClash/CClashServer.cs index ba854c5..037f4a6 100644 --- a/CClash/CClashServer.cs +++ b/CClash/CClashServer.cs @@ -192,7 +192,6 @@ public void Listen(string cachedir) NewServerThread(cachedir); } } - cache.SetupStats(); if (DateTime.Now.Subtract(lastRequest).TotalMinutes > QuitAfterIdleMinutes) { quitnow = true; @@ -203,7 +202,7 @@ public void Listen(string cachedir) t.Join(2000); } - + cache.SetupStats(); Logging.Emit("server quitting"); mtx.ReleaseMutex(); @@ -228,7 +227,6 @@ public CClashResponse ProcessRequest(CClashRequest req) case Command.GetStats: rv.exitcode = 0; cache.SetupStats(); // commits stats to disk - rv.stdout = StatOutputs.GetStatsString(req.compiler, cache); break; @@ -241,16 +239,11 @@ public CClashResponse ProcessRequest(CClashRequest req) rv.supported = true; rv.stderr = stderr.ToString(); rv.stdout = stdout.ToString(); - if (Environment.CurrentDirectory != mydocs) - { - //rv.exitcode = -1; - //rv.supported = false; - //rv.stderr = string.Format("cclash server error: server cwd has changed from {0} to {1}!!", mydocs, Environment.CurrentDirectory); - //rv.stdout = string.Empty; - } + break; case Command.Quit: + cache.SetupStats(); Stop(); break; } diff --git a/Installer/Installer/Express/DVD-5/DiskImages/DISK1/Setup.ini b/Installer/Installer/Express/DVD-5/DiskImages/DISK1/Setup.ini index ed043b4afbacff8954e329a7d2f9f713cb49a87e..9c3ed71e3851d216102d5f404cd924bad945b5a3 100644 GIT binary patch delta 84 zcmeBE?^EBP#q4gzV8r0YV8UPtCXE?%fqX*-3m{(?C~5(OPC%9ggDX%T!ZHNX#tdda T6{bLz6OeXhFxXtkEGqy27KIDY delta 84 zcmeBE?^EBP#q93F;L6~_V8LL@V9emeV8o!yV8UPy6fp<0EP$fUK$ZoA0T6;@ErB#h V2S}|EP}~>@Ef_2|7c$EV000@U3$OqH diff --git a/cclash.v11.suo b/cclash.v11.suo index 2eb881264995867950eef0d79c65014a2214642b..eeffef3db4b928506f152df50c910fb192128a80 100644 GIT binary patch delta 5500 zcmeI0dsNfc9l&!R35f>ekpNC`$Un%_=qZ79szT3?-QH>@pM+S)Vctku){XtVDP3B%d5p0?}$+U0z5 z@BQA#@80j@{_YRQ#VE(Ys4Ye#mIYI!OlE_k9QfMr_X{ZjmIBLwSpbI4`{w=@F+W>93M?J;9nEh$$b5Yu2&cqY^|P!UPZ5RGZb zhmsgAo*WMp05L!@5Dwf6JOV@jlYnSI514>{fS6jWSP6N5U;vN;d5;}g+4<4i=aFWSOi>#9SBQ=^bzVKa-ohyK$L|#5(4UI z_$;{TE0E6wu~3KTk^$-j{|S_ZDWZbq$&lXz3=Ywy zFp#D7|B~sWPs@c97qjcpH@TyYP^4tnwGD`}y4W@7X?88vuP%oUwZ9kB2`{Ow8v|nYW{y!W1VvCO21)=kFaZ$qNsu$$UER({4IV?*`^Z^V zN`;pT|5XU(7!p~1*<{w9Uf`TkB1gjC*s1C1sD#x_xko7iM);2CE*JjiXV-__RAj-x zQ<&8c8NpJ9-}30QyHKn8DpGquo-6zblGB<_1DZElb!Z2hYE7cgh{de1>U!i`teU|| z&@lsmmHLw*-vd4V0PF?6Vr|wT^hGGK3)YMBTTu9dwME1+V>9jNhng59!=A6lVd{*u z_qD2`$Euzig$iXn0e=@=MWRq19(*2)w-{MBP-~g9Z$%n%ZZh&S9 z3vu4D$Xtz5RK(%N(sT2BO(8;t*>j)Lh*rS_5QtnHflN0pEif#g+wyVyn=7z0+`v-8 zb!>dJ_YRNpTptvMn=4bDjdnEAQ`7iM)VvluV{32ovK26K$jh1?*txBgii1noiP^U~ zkeOZE)*#n`Xd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