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
Philipp Holzer
3411ced833
Move Config::set() to DI::config()->set()
2020-01-19 21:21:53 +01:00
Philipp Holzer
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
Philipp Holzer
31457b8566
Replace Lock::release() with DI::lock()->release() and remove Core\Lock
2020-01-07 00:24:10 +01:00
Philipp Holzer
634e657d23
Replace Lock::acquire() with DI::lock()->acquire()
2020-01-07 00:20:31 +01:00
Philipp Holzer
f0eea6f875
Remove get_app() in favor of DI::app()
2020-01-04 23:42:01 +01:00
Philipp Holzer
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls
2019-12-30 23:00:08 +01:00
Philipp Holzer
5609e94b05
Refactor deprecated App - process methods to DI::process()->*()
2019-12-29 20:17:45 +01:00
Philipp Holzer
9cec293ccc
Refactor dynamic App::getMode() to static DI::mode()
2019-12-29 20:17:42 +01:00
Philipp Holzer
181529f3df
Refactor dynamic App::getProfiler() to static DI::profiler()
2019-12-29 20:17:42 +01:00
Philipp Holzer
e2b2778e0a
Refactor dynamic App::getLogger() to static DI::logger()
2019-12-29 20:17:41 +01:00
Philipp Holzer
fceb4f3823
Refactor dynamic App::getConfig() to static DI::config()
2019-12-29 20:17:40 +01:00
Philipp Holzer
388b963714
Replace BaseObject class with DI::* calls
2019-12-29 20:17:38 +01:00
Philipp Holzer
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
Michael
a09c5b692c
Command based pre fetching of worker tasks
2019-03-23 06:08:18 +00:00
Michael
ea71a4e83a
Refetch new jobs only once per execution loop
2019-03-08 20:39:58 +00:00
Tobias Diekershoff
5df246e9af
Merge pull request #6825 from annando/empty-spawn
...
Worker: Don't spawn without jobs
2019-03-08 07:26:22 +01:00
Michael
d87abe9563
Worker: Don't spawn without jobs
2019-03-08 05:53:36 +00:00
Michael
f2560c42d1
Reduce the default maximum load for the worker to 20
2019-03-02 18:41:12 +00:00
Michael
c3b12b63c8
Added some description, changed logger call
2019-02-27 09:49:26 +00:00
Michael
505a34d40e
Log the time as decimal
2019-02-27 09:12:40 +00:00
Michael
78960d4bde
Removed unneeded spaces
2019-02-27 09:11:37 +00:00
Michael
5e440aa035
The cron interval is minutes - so we have to convert it into seconds
2019-02-27 08:55:25 +00:00
Michael
0ee1ea5f29
The log text is now shorter
2019-02-27 08:41:45 +00:00
Michael
11e39da6cc
And moving the block back to the old place
2019-02-27 07:08:44 +00:00
Michael
e1cc7262de
Respawing when quitting
2019-02-27 07:04:21 +00:00