Michael
7703875b55
Fixes "Undefined property: Friendica\App::$queue"
2019-02-23 16:08:02 +00:00
Philipp Holzer
8760d89eb8
reverting back workerLogger to Logger
2019-02-23 10:24:22 +01:00
Philipp Holzer
16863c5d82
switched back to logger
2019-02-22 23:53:20 +01:00
Philipp Holzer
9c12f3f226
Formatting logger to new style
2019-02-22 20:41:13 +01:00
Philipp Holzer
ee37632695
Adding worker id & functionname to worker logs
2019-02-22 20:10:27 +01:00
Hypolite Petovan
4375edd63e
Merge pull request #6719 from annando/worker-scheduler
...
New scheduler mechanism - now to the correct branch
2019-02-21 16:12:19 -05:00
Michael
7810227040
Reverted test stuff
2019-02-21 19:34:12 +00:00
Michael
3450f12cba
Changed log calls
2019-02-21 19:32:31 +00:00
Philipp Holzer
f536107911
Fixing value check for configuration
2019-02-18 11:29:51 +01:00
Philipp Holzer
86aaa6565e
Fixing saveLog()
2019-02-18 11:29:51 +01:00
Philipp Holzer
a3d6062476
check if value is set
...
get basepath with config instead cache
2019-02-18 11:29:42 +01:00
Michael
a1a1367d6e
Added function description
2019-02-17 19:20:24 +00:00
Michael
061d959e7f
Code cleanup
2019-02-17 18:55:17 +00:00
Michael
01d6ba85ff
The number of workers per priority is now calculated dynamically
2019-02-17 03:22:29 +00:00
Philipp Holzer
5e6e1a8025
Introducing Profiler
2019-02-16 23:11:30 +01:00
Michael
0845089a0f
New scheduler mechanism
2019-02-16 15:03:37 +00:00
Michael
ca529d9de7
The process id is currently not supported.
2019-02-14 13:30:41 +00:00
Michael
e20a675953
The setting "worker_fetch_limit" now only has an impact on high priority processes
2019-02-14 06:53:04 +00:00
Michael
f6e8246e75
Ensure that "strtotime" returns the correct timestamp
2019-02-12 06:42:45 +00:00
Michael
742b472994
Fix: Workerqueue processes had been killed too early
2019-02-11 22:39:59 +00:00
Michael
f65b35901e
Fix worker statistics
2019-02-11 08:59:14 +00:00
Michael
5fc6c0ef38
Fix: Corected config value name
2019-02-11 04:39:24 +00:00
Michael
171cfe8f44
Furtner improval of the worker speed
2019-02-09 23:10:15 +00:00
Michael
5e5a2c3cc1
Improved worker performance (changed keys, changed queries)
2019-02-08 21:48:41 +00:00
Michael
b0411b46c4
Separate config options to display the worker jobs per minute
2019-02-06 07:37:45 +00:00
Hypolite Petovan
3282ce5389
Fix PHPDoc comments project-wide
2019-01-21 10:35:51 -05:00
Hypolite Petovan
55e54bb950
Replace deprecated Addon::callHooks with Hook::callAll
...
- Update documentation
2019-01-21 09:50:56 -05:00
Hypolite Petovan
5e1ceb57de
Escape global namespaced get_app() calls
...
- Add deprecated status
2019-01-03 21:27:36 -05:00
Hypolite Petovan
acaee626f5
Remove include/ requires that are now done directly from Composer
2018-12-24 09:56:25 -05:00
Michael
e759497af3
Fix small typo / Workerqueue count now only counts non deferred entries
2018-11-04 10:51:01 +00:00
Adam Magness
50da89d861
Logger Levels
...
update logger levels in calls
2018-10-30 09:58:45 -04:00
Adam Magness
14fde5dc9b
Log function
...
implement log() function.
2018-10-30 09:57:14 -04:00
Michael
95dc030926
Show deferred worker tasks in the admin interface and workerqueue logs
2018-10-23 20:38:28 +00:00
Tobias Diekershoff
dbe49a0c1a
Merge pull request #5998 from annando/ap-queue
...
Unsuccessful ActivitiyPub transmission are now deferred
2018-10-23 06:54:11 +02:00
Michael
e3e714a45f
Unsuccessful ActivitiyPub transmission are now deferred
2018-10-23 03:54:18 +00:00
Hypolite Petovan
e511790d62
Move NULL_DATE from boot.php to DBA::NULL_DATETIME
...
- Add DBA::NULL_DATE constant
2018-10-22 16:50:55 -04:00
Michael
e2762e032c
Poddibility to defer worker execution
2018-10-15 05:19:35 +00:00
Philipp Holzer
2c541afd47
Moved functions out of boot.php into class
...
- z_root() => $a->getBaseURL()
- absurl() => removed because no usage
- is_ajax() => $a->isAjax()
- current_load() => System::currentLoad()
- argc() => $a->argc
- argv($x) => $a->getArgumentValue($x)
2018-10-13 19:03:08 +02:00
Philipp Holzer
5a02e39a65
Rename App Methods
...
- renamed a lot of App methods to CamelCase
- replaced direct public variables with get-/set-Methods
2018-10-10 00:16:06 +02:00
Philipp Holzer
bd2b3b1ef5
LockDriverFixings
...
- release Locks in case of failures
- adding some cache tests
2018-09-06 08:11:18 +02:00
Michael
432eec770b
Issue 5467: Cron jobs hadn't been executed
2018-07-24 06:15:58 +00:00
Hypolite Petovan
ecea7425f8
Rename DBA::is_result to DBA::isResult
2018-07-23 11:04:14 -04:00
Hypolite Petovan
0ec44f3e8a
Rename DBM method calls to DBA method calls
2018-07-23 11:02:24 -04:00
Michael Vogel
2d0a749734
Merge pull request #5431 from MrPetovan/task/5410-rename-database-methods
...
Move DBA to src/ part 3.1: Rename DBA methods
2018-07-23 15:18:58 +02:00
Philipp
cd52d0b3e9
Using getopt for CLI arguments ( #5446 )
...
* Adding Argument class to Friendica
* Adding Argument class to Friendica
* Adding Argument class to Friendica
* fixing arguments for `spawnWorker`
* Adding `use Friendica\BaseObject` to `ApiTest.php`
* Refactoring the argument-usages of Friendica
* Refactoring the argument-usages of Friendica
* removing superfluous []
2018-07-23 07:40:52 -04:00
Hypolite Petovan
415b982d39
Rename DBA::num_rows to DBA::numRows
2018-07-22 19:27:35 -04:00
Hypolite Petovan
4db98eb43d
Rename DBA::inArray to DBA::toArray
2018-07-22 19:27:35 -04:00
Hypolite Petovan
f051ae1698
Rename DBA::fetch_first to DBA::fetchFirst
2018-07-22 19:27:34 -04:00
Michael Vogel
6a6a805225
One more notice ( #5429 )
...
* Some more notices
* And some more notice in the worker
2018-07-20 20:43:21 -04:00
Hypolite Petovan
af6dbc654f
Rename Friendica\Database\dba to Friendica\Database\DBA
2018-07-20 08:19:26 -04:00