Commit graph

4600 commits

Author SHA1 Message Date
Alexandre Alapetite 84972623f7 Order of semaphore processing 2017-07-07 18:26:43 +02:00
Alexandre Alapetite 329ab7d153 More general check for semaphore 2017-06-28 22:38:22 +02:00
Alexandre Alapetite 4eaa6b94a6 Hide semaphone warning
https://github.com/friendica/friendica/issues/3553
2017-06-28 18:38:18 +02:00
Michael 4515c36f69 Semaphore based locking and hopefully the fix for the workerqueue 2017-06-28 04:53:11 +00:00
Michael 1301a29505 It's faster without locks, gnarl ... 2017-06-12 19:20:50 +00:00
Michael 16df7715b9 Avoid locking problems in lock class 2017-06-12 15:42:54 +00:00
Michael 7d0a7f6be9 We got rid of two workerqueue queries, yeah! 2017-06-11 19:51:18 +00:00
Hypolite Petovan 9c0d2c31e8 Replace AND and OR in PHP conditions by && and || 2017-06-07 22:00:59 -04:00
Michael 9c46971aa5 The check for blocking processes is deactivated until further checks were performed 2017-06-06 22:18:42 +00:00
Michael e3d5dcf049 Beware of camels 2017-06-06 17:42:47 +00:00
Michael 286b2da7a9 Added documentation and renamed function 2017-06-06 17:25:28 +00:00
Michael 5dfa513b62 Only wait when you have a timout value at all 2017-06-06 04:22:18 +00:00
Michael 2b04865cdb We found the handbrake ... 2017-06-05 22:41:33 +00:00
Michael b86c4d539e Locking waits now for a shorter period. DB locking is used at other locations as well 2017-06-05 14:59:53 +00:00
Michael 30b24a2908 Locking seems to work great now 2017-06-04 18:59:50 +00:00
Michael bca5776e9c Lock now can use the memcache as well 2017-06-04 15:59:20 +00:00
Michael d2cb87a200 Database locks are now having its very own functions 2017-06-04 12:59:29 +00:00
Michael 5de03c1b27 Locks now work - ready to be used in the wild 2017-06-04 08:36:08 +00:00
Michael 32f61016d3 Overhauled "lock" functionality 2017-06-04 07:26:21 +00:00
Michael 21eb9a4b2e Fixed locking behaviour for the worker 2017-06-03 07:25:01 +00:00
Michael 609649557b Better handling of timeout issues while probing 2017-05-31 03:46:43 +00:00
Michael a32de855cc Don't quit if the own host cannot be reached via SSL 2017-05-29 19:14:44 +00:00
Michael 860887557a Some more logging for the probing 2017-05-28 05:38:12 +00:00
Hypolite Petovan 471056e989 Merge pull request #3488 from annando/ptobr-no-cache
Probing via web frontend shouldn't use the cache.
2017-05-23 17:21:10 -04:00
Michael 07e318e991 some more logging 2017-05-23 20:19:39 +00:00
Michael c84a2fb1a3 Bugfix ParseUrl: Only fetch a range to avoid memory issues 2017-05-23 05:26:22 +00:00
Hypolite Petovan 06ea23665c Merge pull request #3460 from annando/1705-dbclean
dbclean is now using the new database functions
2017-05-12 11:45:27 -04:00
Michael 6ef24890bb dbclean is now using the new database functions / new functions for commit, rollback and transaction 2017-05-11 20:13:45 +00:00
Hypolite Petovan 39f894bd4a Use use instead of \ 2017-05-11 11:53:04 -04:00
Michael f6fe11ff49 Small bugfix for PR 3454 2017-05-08 20:01:18 +00:00
rabuzarus 3d5ff8bab3 remove use of PConfig Class from Probe class because we don't use it here 2017-05-08 19:04:01 +02:00
rabuzarus 8a2ffffe71 Bugfix: correct uninitialized variables 2017-05-08 19:02:34 +02:00
rabuzarus 035c79f355 add some spaces for better readability 2017-05-08 18:28:30 +02:00
rabuzarus 8830d20ed0 rename some variables for comprehensibility 2017-05-08 18:07:06 +02:00
rabuzarus 51372bc314 improve readability 2017-05-08 17:36:04 +02:00
rabuzarus 450a4920fd apply coding standard 2017-05-08 17:06:57 +02:00
rabuzarus cc8a3a4101 rename methods of the Probe class to camelCase 2017-05-08 16:19:10 +02:00
Michael 52a4e09711 Don't check if basepath is writable / convert App.php to unix newlines 2017-05-08 06:11:38 +00:00
Michael a8caeefb52 And even more global classes ... 2017-05-07 22:21:12 +00:00
Michael Vogel d9f8fbeb4f Merge pull request #3449 from Hypolite/improvement/move-probe-to-src
Hotfix: Yet more global classes to escape
2017-05-08 00:18:53 +02:00
Hypolite Petovan f123f6df10 Yet more global classes to escape 2017-05-07 18:12:26 -04:00
Michael Vogel 6680ce1dd7 Merge pull request #3445 from Hypolite/improvement/move-probe-to-src
Move Probe to src
2017-05-07 23:14:22 +02:00
Hypolite Petovan b4f2fc4e2f Hotfix for missing Exception class 2017-05-07 15:22:11 -04:00
Hypolite Petovan 36e515ee6d Move Probe to src 2017-05-07 14:44:30 -04:00
Hypolite Petovan 569cd459ec Add basepath to App 2017-05-02 23:37:57 -04:00
Hypolite Petovan 3437e73ae4 Yet more standards 2017-05-02 23:37:50 -04:00
Hypolite Petovan ce866ad39b Remove unrecommended leading backslash for fully qualified namespaces 2017-05-02 23:37:06 -04:00
Hypolite Petovan 4b16de6d80 Fix wrong class name case
- Use leading backslash for non-namespace class names in App
2017-05-02 23:36:46 -04:00
Hypolite Petovan 20043914e6 Move App to src
- Add `use Friendica\App;` wherever needed
2017-05-02 22:59:36 -04:00
Hypolite Petovan 799e60aa62 Replace existing autoloader with Composer-supplied
- Move Friendica namespace to `src`
- Move required `ezyang/htmlpurifier` to vendor
- Remove existing static autoloader
- Change boot.php reference to the autoloader
2017-03-31 23:02:38 -04:00