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
Michael
5a1a5a54dc
Delivery count now counts the failed delivery attempts as well
2019-08-20 07:39:13 +00:00
Philipp Holzer
2c73377b39
Create Core\Process as a base for followup work
2019-08-17 09:09:13 +02:00
Philipp Holzer
90b438e082
Move mode settings to App\Mode
...
- Move isAjax() to App\Mode
- Move isTablet() to App\Mode
- Move isMobile() to App\Mode
- Refactor last usage of App->isBackend()
2019-08-17 09:09:13 +02:00
Michael Vogel
afac4b7698
Improved calculation of deferred tasks
2019-08-13 06:43:08 +02:00
Michael Vogel
e07a17daf6
Added config value
2019-08-11 23:07:06 +02:00
Michael Vogel
5c72aeb8d7
Worker: The retrial value can now skip retrial levels
2019-08-11 10:28:52 +02:00
Michael Vogel
35a487ae30
Don't fork worker on frontend by default
2019-08-08 22:42:12 +02:00
Philipp Holzer
6c2cf494b5
Remove DependencyFactory
...
- Include all necessary classes in `dependencies.config.php`
- Add DI-reference to BaseObject (acts as a global registry)
- Refactor all static "init()" methods to use the global registry
- Refactor Logging for Worker-Logger a little bit
2019-07-27 23:54:12 +02:00
Hypolite Petovan
d7d44e1af7
Merge pull request #7245 from annando/unify-constants
...
Fix delivery counter for poking / unify delivery commands
2019-06-10 11:59:40 -04:00
Michael
41dc243186
Fix delivery counter for poking / unify delivery commands
2019-06-10 14:19:24 +00:00
Philipp Holzer
cc7444d84d
Move internal recursion-counter to the end of all cur/fetchUrl parameters
2019-06-10 14:34:54 +02:00