Commit graph

195 commits

Author SHA1 Message Date
Michael
9a6141dcbe Use "pcntl_fork" to fork processes 2021-01-01 19:35:29 +00:00
Michael
d1ea529cfb Issue 9704: Improved log levels 2020-12-31 20:14:13 +00:00
Michael Vogel
33930b0bd9
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-12-09 06:58:19 +01:00
Michael
dd94fb1242 Check for bad worker priorities 2020-12-08 21:58:32 +00:00
Michael
edbdfbae6b workerqueue now has a "command" field 2020-12-03 15:47:50 +00:00
Michael
3f3f56db57 Poll interval function moved to feed class, first steps for delayed posts 2020-11-30 05:39:12 +00:00
Michael
818c064c0a The notifications parameters are now simplified 2020-11-25 19:56:39 +00:00
Michael
1bc76fdb6d Watchdog mode to check if the daemon is running 2020-11-20 19:50:08 +00:00
Michael
0edc058a17 Ensure that the daemon is called faster and more reliably 2020-11-18 13:29:10 +00:00
Michael
592ac53ffc Worker priority / no shadow worker 2020-10-24 08:05:03 +00:00
Philipp
a6fc9cd32e
Remove $binary flag for HTTPRequest::get(), HTTPRequest::fetch(), HTTPRequest::fetchAll() (deprecated since PHP 5.1.3) 2020-10-18 20:56:31 +02:00
Michael Vogel
2c0db7546b
Update src/Core/Worker.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-10-17 15:54:52 +02:00
Michael
7efd01880c Define a maintenance window 2020-10-17 12:39:42 +00:00
Hypolite Petovan
a852455d0e Merge remote-tracking branch 'friendica/stable' into develop
# Conflicts:
#	composer.lock
2020-09-20 15:32:58 -04:00
Philipp
c9e510d4fd
Use getmypid() as dependency (improve testing) 2020-09-19 20:28:01 +02:00
Michael
c36bfcf17d Changed loglevels in the worker 2020-09-17 17:57:41 +00:00
Philipp
cdb61be06f
Rewrite Process Model/Core 2020-09-15 18:16:44 +02:00
Michael
d8d2cdc6ef Only c heck every 5 seconds for the system health 2020-08-29 13:01:58 +00:00
Michael
8148d9dc9d Unclaim on end / don't refetch 2020-08-29 11:26:40 +00:00
Michael
069786cd7f Simplified the code 2020-08-29 10:44:38 +00:00
Michael
f9152ce140 Worker: Fetch jobs for multiple workers 2020-08-29 09:03:50 +00:00
Michael
98dd15ec9a Adding a cooldown phase for the daemon 2020-08-19 18:21:40 +00:00
Michael Vogel
b5cca1ab93 Some small performance tweaks (indexes) 2020-08-18 12:50:18 +02:00
Michael
f09d9bc9cc Remove url caching, locking cleanup 2020-08-06 18:53:45 +00:00
nupplaPhil
657d08f09f Rename "fetchUrl" and "fetchUrlFull" to "fetch" and "fetchFull" 2020-07-21 03:15:53 -04:00
nupplaPhil
1aa07f87a4 Make "HTTPRequest::fetchUrl" dynamic 2020-07-21 03:04:58 -04:00
nupplaPhil
5344efef71 Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest" 2020-07-21 02:56:10 -04:00
Michael
e374e5752a Changed deprecated log calls 2020-06-01 13:51:58 +00:00
Michael
9ccdbd9349 Added forgotten DBA::close 2020-04-28 05:55:17 +00:00
Michael
1c980c5b29 The workerqueue is now using a view as well 2020-04-24 18:50:36 +00:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
nupplaPhil
3411ced833
Move Config::set() to DI::config()->set() 2020-01-19 21:21:53 +01:00
nupplaPhil
6c36fd9e01
Move Config::get() to DI::config()->get() 2020-01-19 21:21:13 +01:00
Michael
cdbc94a9e1 Some more added lines 2020-01-19 09:51:37 +00:00
Michael
0a4119adaf @brief is removed completely 2020-01-19 06:05:23 +00:00
nupplaPhil
31457b8566
Replace Lock::release() with DI::lock()->release() and remove Core\Lock 2020-01-07 00:24:10 +01:00
nupplaPhil
634e657d23
Replace Lock::acquire() with DI::lock()->acquire() 2020-01-07 00:20:31 +01:00
nupplaPhil
f0eea6f875
Remove get_app() in favor of DI::app() 2020-01-04 23:42:01 +01:00
nupplaPhil
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls 2019-12-30 23:00:08 +01:00
nupplaPhil
5609e94b05
Refactor deprecated App - process methods to DI::process()->*() 2019-12-29 20:17:45 +01:00
nupplaPhil
9cec293ccc
Refactor dynamic App::getMode() to static DI::mode() 2019-12-29 20:17:42 +01:00
nupplaPhil
181529f3df
Refactor dynamic App::getProfiler() to static DI::profiler() 2019-12-29 20:17:42 +01:00
nupplaPhil
e2b2778e0a
Refactor dynamic App::getLogger() to static DI::logger() 2019-12-29 20:17:41 +01:00
nupplaPhil
fceb4f3823
Refactor dynamic App::getConfig() to static DI::config() 2019-12-29 20:17:40 +01:00
nupplaPhil
388b963714
Replace BaseObject class with DI::* calls 2019-12-29 20:17:38 +01:00
nupplaPhil
1de3f186d7
Introduce new DI container
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
2019-12-29 20:16:55 +01:00
Michael
6af4c90dff Fix delivery counter / archive relay contacts 2019-09-02 03:25:05 +00:00
Michael Vogel
cf170c9c02 Fixed count, added to-do 2019-08-28 06:44:37 +02:00
Michael Vogel
9b7432781b Don't transmit content to already archived contacts 2019-08-27 21:01:11 +02:00
Michael Vogel
a892156052 Output better comparable log entries for the worker 2019-08-23 07:23:32 +02:00