Commit Graph

105 Commits (061d959e7f1387432c38d580429ed9e612954ed6)

Author SHA1 Message Date
Michael 061d959e7f Code cleanup 4 years ago
Michael 01d6ba85ff The number of workers per priority is now calculated dynamically 4 years ago
Michael 0845089a0f New scheduler mechanism 4 years ago
Michael ca529d9de7 The process id is currently not supported. 4 years ago
Michael e20a675953 The setting "worker_fetch_limit" now only has an impact on high priority processes 4 years ago
Michael f6e8246e75 Ensure that "strtotime" returns the correct timestamp 4 years ago
Michael 742b472994 Fix: Workerqueue processes had been killed too early 4 years ago
Michael f65b35901e Fix worker statistics 4 years ago
Michael 5fc6c0ef38 Fix: Corected config value name 4 years ago
Michael 171cfe8f44 Furtner improval of the worker speed 4 years ago
Michael 5e5a2c3cc1 Improved worker performance (changed keys, changed queries) 4 years ago
Michael b0411b46c4 Separate config options to display the worker jobs per minute 4 years ago
Hypolite Petovan 3282ce5389 Fix PHPDoc comments project-wide 4 years ago
Hypolite Petovan 55e54bb950 Replace deprecated Addon::callHooks with Hook::callAll
- Update documentation
4 years ago
Hypolite Petovan 5e1ceb57de Escape global namespaced get_app() calls
- Add deprecated status
4 years ago
Hypolite Petovan acaee626f5 Remove include/ requires that are now done directly from Composer 4 years ago
Michael e759497af3 Fix small typo / Workerqueue count now only counts non deferred entries 5 years ago
Adam Magness 50da89d861 Logger Levels
update logger levels in calls
5 years ago
Adam Magness 14fde5dc9b Log function
implement log() function.
5 years ago
Michael 95dc030926 Show deferred worker tasks in the admin interface and workerqueue logs 5 years ago
Tobias Diekershoff dbe49a0c1a
Merge pull request #5998 from annando/ap-queue
Unsuccessful ActivitiyPub transmission are now deferred
5 years ago
Michael e3e714a45f Unsuccessful ActivitiyPub transmission are now deferred 5 years ago
Hypolite Petovan e511790d62 Move NULL_DATE from boot.php to DBA::NULL_DATETIME
- Add DBA::NULL_DATE constant
5 years ago
Michael e2762e032c Poddibility to defer worker execution 5 years ago
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)
5 years ago
Philipp Holzer 5a02e39a65
Rename App Methods
- renamed a lot of App methods to CamelCase
- replaced direct public variables with get-/set-Methods
5 years ago
Philipp Holzer bd2b3b1ef5
LockDriverFixings
- release Locks in case of failures
- adding some cache tests
5 years ago
Michael 432eec770b Issue 5467: Cron jobs hadn't been executed 5 years ago
Hypolite Petovan ecea7425f8 Rename DBA::is_result to DBA::isResult 5 years ago
Hypolite Petovan 0ec44f3e8a Rename DBM method calls to DBA method calls 5 years ago
Michael Vogel 2d0a749734
Merge pull request #5431 from MrPetovan/task/5410-rename-database-methods
Move DBA to src/ part 3.1: Rename DBA methods
5 years ago
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 []
5 years ago
Hypolite Petovan 415b982d39 Rename DBA::num_rows to DBA::numRows 5 years ago
Hypolite Petovan 4db98eb43d Rename DBA::inArray to DBA::toArray 5 years ago
Hypolite Petovan f051ae1698 Rename DBA::fetch_first to DBA::fetchFirst 5 years ago
Michael Vogel 6a6a805225 One more notice (#5429)
* Some more notices

* And some more notice in the worker
5 years ago
Hypolite Petovan af6dbc654f Rename Friendica\Database\dba to Friendica\Database\DBA 5 years ago
Hypolite Petovan daa1177e3a Update use statement lists with new Friendica\Database\dba class
- Remove unused use statement
- Remove superfluous use statements (classes in the same namespace)
- Add missing use statements
5 years ago
Hypolite Petovan d487c399dd Standards: Rename App methods
- Rename App->max_processes_reached to App->isMaxProcessesReached
- Rename App->maxload_reached to App->isMaxLoadReached
5 years ago
Michael Vogel d3a2ed85fe Next item structure works (#5380)
* Use "LEFT JOIN" to always fetch the item. Needed for update routines.

* New conversion routine that now covers every item

* Post update is now activated

* We now use a hash based upon RIPEMD-320 for content and activity

* The hash doesn't contain the plink anymore

* Legacy item fields are now "null"able

* New hash function for a server unique item hash

* Introduction of the legacy mode (usage of old item fields)

* Code simplification

* We don't need the "uri" fields anymore in item-activity and item-content

* Use the "created" and not the "received" date for the hash

* Avoiding several notices

* Some more warnings removed

* Improved uri-hash / Likes on Diaspora are now getting a creation date

* Corrected the post update version

* Ensure an unique uri-hash

* Don't delete orhaned item data at the moment

* Partly reworked, due to strange behaviour

* Some more parts reworked

* Using the uri currently seems to be more reliable

* Using the uri here as well

* Use the hash values again

* Grouped item fields in different categories

* Notices again

* use the gravity (we always should)

* Added hint for disabled post updates

* Notices ...

* Issue #5337: Personal notes are displayed again

* Use the gravity again
5 years ago
Michael 3cb7a7606e workaround for stalling worker processes when running the daemon 5 years ago
Michael Vogel 3792e2819d Use a process identifier for logging that contains the pid (#5359) 5 years ago
Philipp Holzer e41e7d2edd
Fixings
- fixed test for semaphore
- fixed some issues
- changed namespace in Tests back to "src/"
- changed namings
5 years ago
Philipp Holzer 3f7e4f5bb6
redesign of locking & caching
- New Factory "CacheDriverFactory" for Cache and Locks
- Adding Redis/Memcached Locking
- Moved Lock to Core
- other improvements
5 years ago
Philipp Holzer dd085ae592
minor changes 5 years ago
Philipp Holzer a57e6cfa1b
Moved Lock.php back to Utils 5 years ago
Philipp Holzer 0218d16335
Lock abstraction (like the Cache)
- adding interface
- adding seperate drivers
- moving Lock to the Core package
5 years ago
miqrogroove 12d0f4bf3c
Add Comments to Worker Exponent Implementation 5 years ago
miqrogroove 9cde4aa109
Make Load Exponent Configurable 5 years ago
miqrogroove 97cabcecf2
Unify Worker Load Formulas 5 years ago