Commit graph

337 commits

Author SHA1 Message Date
Michael
cabfcfc904 We now are having a "scripts" folder 2017-11-19 21:21:54 +00:00
Michael
01362461cf poller.php is cleaned up, unneeded stuff has been removed 2017-11-18 11:01:01 +00:00
Michael
70c08dee1d Some more improvements 2017-11-05 15:28:55 +00:00
Michael
478e363967 proc_run was replaced 2017-11-05 12:15:53 +00:00
Michael
da212a28a2 New worker class that does all the work 2017-11-05 10:33:46 +00:00
Michael
225eea2ca6 Avoid undefined class variables 2017-10-11 14:52:08 +00:00
Michael
a29b7e7153 "dba" is now a static class 2017-10-11 12:56:36 +00:00
Michael
3354f01ed5 Doxygen and bugfix 2017-09-30 17:42:03 +00:00
Michael
2971501f63 The direct structure call is now only executed when called via the poller.php 2017-09-30 17:12:27 +00:00
Michael
bd88179419 Add additional checks for the worker 2017-09-30 11:19:46 +00:00
Michael
03c9e22334 Poller: A limit of 1 seems to be better 2017-09-25 19:33:41 +00:00
Michael
c44448dd57 We should reset the session variable 2017-09-08 08:50:08 +00:00
Michael
5adfeb0bd5 App::get_baseurl is now replaced with System::baseUrl 2017-08-26 07:32:10 +00:00
Michael
3c24bed412 New class "System" 2017-08-26 06:04:21 +00:00
Michael
0ac725dc47 Some more updated queries 2017-08-12 22:15:16 +00:00
Michael
a80329b416 Speed up of OStatus transmission/Ignoring "created" with remote self 2017-08-03 05:42:44 +00:00
Michael
30b0a035f9 Split expire.php in several processes / small worker changes 2017-07-06 05:48:02 +00:00
Michael
0ab7915810 Only kill the first stale process 2017-07-04 05:01:06 +00:00
Michael
bae4569a0b Avoid the killing of the wrong process 2017-07-02 19:43:36 +00:00
Michael
0cd9db9cb7 Degrade priority step by step 2017-07-01 18:55:12 +00:00
Michael
7726353601 Prevent soon killings 2017-06-30 23:08:08 +00:00
Michael
99b86c9fd9 Just found the handbrake ... 2017-06-29 21:19:31 +00:00
Michael
18d6eba8d0 Some more performance stuff 2017-06-29 05:40:02 +00:00
Michael
4515c36f69 Semaphore based locking and hopefully the fix for the workerqueue 2017-06-28 04:53:11 +00:00
Michael
7097673fa1 Bugfix: Poller entries had been executed multiple times 2017-06-21 03:49:05 +00:00
Michael
fda4cd6001 Changed documentation 2017-06-17 19:13:40 +00:00
Michael
ec8a945189 Corrected query 2017-06-17 14:15:17 +00:00
Michael
cf179188b6 Some more worker fine tuning 2017-06-17 13:58:18 +00:00
Michael
bafa26c060 We don't need the timeout there anymore 2017-06-13 22:25:24 +00:00
Michael
a7526f1291 New function for affected rows 2017-06-13 21:56:50 +00:00
Michael
a056afd566 Small corrections 2017-06-13 20:51:24 +00:00
Michael
21e84e4d25 Fetching new queue tasks in a bulk to increase speed 2017-06-13 13:51:25 +00:00
Michael
e232c683b6 Changed timeout, logging added 2017-06-13 09:03:19 +00:00
Michael
97be344a4a Handle deadlocks centrally 2017-06-13 05:52:59 +00:00
Michael
228993596a Really fast, sadly with deadlocks 2017-06-12 21:39:20 +00:00
Michael
1301a29505 It's faster without locks, gnarl ... 2017-06-12 19:20:50 +00:00
Michael
1932a6d634 Replaced "table lock" - it is not so good, it seems 2017-06-12 14:19:47 +00:00
Michael
dc00d89b9a Remove test message 2017-06-12 09:45:13 +00:00
Michael
8be52424f5 Only check for stale processes every 5 minutes 2017-06-12 09:44:46 +00:00
Michael
7d0a7f6be9 We got rid of two workerqueue queries, yeah! 2017-06-11 19:51:18 +00:00
Michael
06815f1a38 Merge remote-tracking branch 'upstream/develop' into 1706-worker-even-faster
Conflicts:
	include/poller.php
2017-06-11 07:49:34 +00:00
Michael
f1119b4198 Removed commented out line 2017-06-08 20:53:21 +00:00
Michael
8f336bffc2 further improvements to the workerqueue 2017-06-08 20:43:30 +00:00
Hypolite Petovan
9c0d2c31e8 Replace AND and OR in PHP conditions by && and || 2017-06-07 22:00:59 -04:00
Michael
4e748668c6 Spaces 2017-06-06 20:10:47 +00:00
Michael Vogel
f4652d6e50 Merge branch 'develop' into 1706-lock 2017-06-06 14:16:00 +02:00
Michael
8d13751d40 Increased database version 2017-06-06 12:07:27 +00:00
Tobias Diekershoff
f3d8da7d33 Merge branch 'master' into develop 2017-06-06 12:20:55 +02:00
Michael
ba7b4fddea memory check is now also only done once in a while 2017-06-06 04:00:24 +00:00
Michael
2b04865cdb We found the handbrake ... 2017-06-05 22:41:33 +00:00