Hypolite Petovan
56ee734b00
Cleanup /format pre-move
3 years ago
Michael
9d9909cf10
Some more places were we check now
3 years ago
Michael
715e15cbe1
There is now a memory limit for the poller
3 years ago
Hypolite Petovan
7b352f3f74
Revert "Coding convention applied - part 1"
3 years ago
Michael
e93825b9f0
Some more standards
3 years ago
Michael
132688d663
Standards, what else?
3 years ago
Roland Häder
951006dd10
more spaces + some curly spaces added
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
41a36606c6
added spaces + some curly braces
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Michael
0afb0c2ea4
NULL_DATE is now a constant
3 years ago
Michael
99fb15037b
Removed some more unneeded stuff
3 years ago
Michael
48209f0ecd
Now there is only the worker.
3 years ago
Michael
da8a48f89e
Bugfix: the curl option CURLOPT_SSL_VERIFYHOST is problematic
3 years ago
Michael
2424cb78d1
Only process feed and dfrn items when they aren't already stored
4 years ago
Michael
64d06b98b2
Added documentation
4 years ago
Michael
69f1deb166
Some added logging
4 years ago
Michael
dc439c6e50
Bugfix for masses of php warnings
4 years ago
Michael
c74b7565a9
Rearranged the logging
4 years ago
Michael
45d6f6c0a3
Some changed logging
4 years ago
Michael
72884d75d5
Added callstack
4 years ago
Michael
8939a25502
Better number format
4 years ago
Michael
9d77e91f5f
Some more logging
4 years ago
Michael
1360a0a003
The worker now tells the process runtime length.
4 years ago
Roland Haeder
3befdc6920
used more App::get_baseurl() instead of get_app()->get_baseurl().
Signed-off-by: Roland Haeder <roland@mxchange.org>
4 years ago
Roland Haeder
7c342600c3
used more App::get_baseurl() instead of get_app()->get_baseurl().
Signed-off-by: Roland Haeder <roland@mxchange.org>
4 years ago
Roland Häder
a96eb3428d
Used more dbm::is_result() instead of (!$r) or (!count($r)), still there are
more pending ...
Also put SQL table columns into back-ticks.
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
293436e5fd
Some rewrites:
- max_proccesses_reach() and maxload_reached() (why no _ behind max?) are called
both way, static and with object reference.
- this is strongly discouraged and should be avoided as its support (in PHP) may
be dropped in future releases.
- used $a = get_app(); to encapsulate code (even when the function does
currently the same, it may be changed later)
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Michael
6845775ff9
Store spooled data
4 years ago
Michael
57c95c93e1
The frontend worker is now working as a full replacement for the crontab.
4 years ago
Michael
cc5eebd173
The frontend worker can now fork background processes
4 years ago
Michael
636a033364
Added documentation, config stuff, ...
4 years ago
Michael
d71321c834
Some added documentation
4 years ago
Michael
e856ab9a09
The worker can now run from the frontend as well
4 years ago
Michael Vogel
47b8975bb6
poller.php is now working with transactions as well.
4 years ago
Michael Vogel
3e5cf5290e
Improved queries, more uncommitted queries
4 years ago
Michael Vogel
a47ae788ba
Improved logging
4 years ago
Michael Vogel
ef6a23caf3
Worker: Reserve some space for low priority processes
4 years ago
Michael Vogel
6abac720e2
Small performance tweaks for "item_store" as well.
4 years ago
Michael Vogel
6d16c39b7e
dbstructure now switches in the maintenance mode when updating
4 years ago
Michael Vogel
1caa87dce6
Restructured the way, processes are inserted and removed
4 years ago
Michael Vogel
22f32d9721
New process table for a better detection of running workers
4 years ago
Michael Vogel
108a1c4ac6
New priority level for stale processes.
4 years ago
Michael Vogel
67b16507f1
Performance improvements for the poller
4 years ago
Michael Vogel
d138b11868
Use a 10 minute timeout for high priority processes. This may be better.
4 years ago
Michael Vogel
29168de677
Process timeouts are now priority depending
4 years ago
Michael Vogel
0411eb289e
Lower the priority for stale processes
4 years ago
Michael Vogel
074ae59f49
Reschedule killed processes at the beginning of the queue.
4 years ago
Michael Vogel
7157ca3809
Fastlane is now working with any priority level
4 years ago
Michael Vogel
ff430640c0
Small variable type fixed, removed unused includes
4 years ago
Michael Vogel
d673f44c5b
Split cron jobs in cronjobs, introduce fastlane for high priority tasks
4 years ago
Michael Vogel
b9dbb0ace1
Split cronhook call to several single calls
4 years ago