1
1
Fork 0
Commit graph

306 commits

Author SHA1 Message Date
21e84e4d25 Fetching new queue tasks in a bulk to increase speed 2017-06-13 13:51:25 +00:00
e232c683b6 Changed timeout, logging added 2017-06-13 09:03:19 +00:00
97be344a4a Handle deadlocks centrally 2017-06-13 05:52:59 +00:00
228993596a Really fast, sadly with deadlocks 2017-06-12 21:39:20 +00:00
1301a29505 It's faster without locks, gnarl ... 2017-06-12 19:20:50 +00:00
1932a6d634 Replaced "table lock" - it is not so good, it seems 2017-06-12 14:19:47 +00:00
dc00d89b9a Remove test message 2017-06-12 09:45:13 +00:00
8be52424f5 Only check for stale processes every 5 minutes 2017-06-12 09:44:46 +00:00
7d0a7f6be9 We got rid of two workerqueue queries, yeah! 2017-06-11 19:51:18 +00:00
06815f1a38 Merge remote-tracking branch 'upstream/develop' into 1706-worker-even-faster
Conflicts:
	include/poller.php
2017-06-11 07:49:34 +00:00
f1119b4198 Removed commented out line 2017-06-08 20:53:21 +00:00
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
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
8d13751d40 Increased database version 2017-06-06 12:07:27 +00:00
f3d8da7d33 Merge branch 'master' into develop 2017-06-06 12:20:55 +02:00
ba7b4fddea memory check is now also only done once in a while 2017-06-06 04:00:24 +00:00
2b04865cdb We found the handbrake ... 2017-06-05 22:41:33 +00:00
2bff8e302a Removing the lock after the process was removed is better 2017-06-05 16:56:21 +00:00
b86c4d539e Locking waits now for a shorter period. DB locking is used at other locations as well 2017-06-05 14:59:53 +00:00
fb72fc77f5 Some code beautification 2017-06-04 20:03:37 +00:00
2d229ad856 Merge remote-tracking branch 'upstream/3.5.2rc' into 1706-lock 2017-06-04 19:06:40 +00:00
16276b21eb Typo 2017-06-04 19:05:15 +00:00
bde4943da5 Every hour should mean: every hour :) 2017-06-04 19:01:22 +00:00
30b24a2908 Locking seems to work great now 2017-06-04 18:59:50 +00:00
bca5776e9c Lock now can use the memcache as well 2017-06-04 15:59:20 +00:00
ad53a03f83 It should be "e" not "p" 2017-06-04 09:00:07 +00:00
21eb9a4b2e Fixed locking behaviour for the worker 2017-06-03 07:25:01 +00:00
f6d10198cc Bugfix: The poller often couldn't store the pid in the workerqueue 2017-05-30 13:20:29 +00:00
a32de855cc Don't quit if the own host cannot be reached via SSL 2017-05-29 19:14:44 +00:00
f4a33ed3f0
added spaces + some curly braces + some usage of dbm::is_result()
Signed-off-by: Roland Haeder <roland@mxchange.org>
2017-05-16 14:40:07 +02:00
377fe31907 dba functions in poller / avoiding SQL errors in conversation / dbclean is better 2017-05-12 16:09:25 +00:00
6ef24890bb dbclean is now using the new database functions / new functions for commit, rollback and transaction 2017-05-11 20:13:45 +00:00
Hypolite Petovan
569cd459ec Add basepath to App 2017-05-02 23:37:57 -04:00
Hypolite Petovan
3437e73ae4 Yet more standards 2017-05-02 23:37:50 -04:00
Hypolite Petovan
1d427aa214 Standards: Remove EOF closing PHP tags 2017-05-02 23:36:56 -04:00
Hypolite Petovan
20043914e6 Move App to src
- Add `use Friendica\App;` wherever needed
2017-05-02 22:59:36 -04:00
Hypolite Petovan
56ee734b00 Cleanup /format pre-move 2017-05-02 22:59:24 -04:00
9d9909cf10 Some more places were we check now 2017-04-29 17:45:09 +00:00
715e15cbe1 There is now a memory limit for the poller 2017-04-29 17:36:46 +00:00
Hypolite Petovan
7b352f3f74 Revert "Coding convention applied - part 1" 2017-03-21 12:02:59 -04:00
09851331a9
Merge remote-tracking branch 'upstream/develop' into rewrites/coding-convention
Signed-off-by: Roland Haeder <roland@mxchange.org>
2017-03-20 20:51:32 +01:00
e93825b9f0 Some more standards 2017-03-19 14:43:24 +00:00
132688d663 Standards, what else? 2017-03-19 08:04:04 +00:00
951006dd10
more spaces + some curly spaces added
Signed-off-by: Roland Häder <roland@mxchange.org>
2017-03-19 00:51:54 +01:00
41a36606c6
added spaces + some curly braces
Signed-off-by: Roland Häder <roland@mxchange.org>
2017-03-19 00:50:19 +01:00
e301fa0832 Merge remote-tracking branch 'upstream/develop' into 1702-null-date 2017-03-18 08:31:43 +00:00
77e8c44016 Merge remote-tracking branch 'upstream/develop' into 1702-only-worker
Conflicts:
	include/onepoll.php
	include/queue.php
2017-03-12 21:03:44 +00:00
1624150db4 Merge remote-tracking branch 'upstream/develop' into 1702-null-date
Conflicts:
	include/onepoll.php
2017-03-12 20:54:28 +00:00