Michael
0548099f6c
The config class now makes less database reads.
2017-01-18 21:45:32 +00:00
Roland Häder
293436e5fd
Some rewrites:
...
- max_proccesses_reach() and maxload_reached() (why no _ behind max?) are called
both way, static and with object reference.
- this is strongly discouraged and should be avoided as its support (in PHP) may
be dropped in future releases.
- used $a = get_app(); to encapsulate code (even when the function does
currently the same, it may be changed later)
Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-13 10:16:36 +01:00
Michael Vogel
65d6d45f8c
Changed parameter order
2016-03-08 22:28:49 +01:00
Michael Vogel
beb2346cfc
The function to check for maxload and the lockfile is centralized
2016-03-08 20:28:09 +01:00
Michael Vogel
ec9c9f0be7
Don't create lock files if the process is called from the poller via the worker
2016-03-08 00:20:06 +01:00
Michael Vogel
1d502116a8
Search for GNU Social users in the background
2016-01-21 19:00:08 +01:00
Michael Vogel
5a6950bace
Auto discovery of contacts from GNU Social
2016-01-19 15:12:18 +01:00
Michael Vogel
6e03477598
Sometimes the function "sys_getloadavg" doesn't return an array. This is a workaround.
2015-12-15 23:26:58 +01:00
fabrixxm
d5a32ef214
cron: move update_suggestions in separated thread
...
Move the call in discover_poco.php.
This should fix expiration and other cron related issues
2015-11-07 17:52:52 +01:00
Michael Vogel
b52bc71c6c
Now you can define the duration of the cache entries.
2015-08-24 17:24:14 +02:00
Michael Vogel
123ad84689
Make the hardcoded path to dir.friendica.com configurable
2015-08-23 11:05:10 +02:00
Michael Vogel
098ccd09fa
Moved the detection for centralized networks.
2015-07-29 06:31:18 +02:00
Michael Vogel
678de014ad
Some code beautification.
2015-07-28 18:26:30 +02:00
Michael Vogel
9f073f2fd5
Some correction stuff for old entries in the global contacts
2015-07-28 15:28:58 +02:00
Michael Vogel
ec161d798f
The discovery should check all profiles.
2015-07-28 08:25:30 +02:00
Michael Vogel
4b2c2c4802
Check all contacts that we haven't contacted in a month
2015-07-27 08:14:04 +02:00
Michael Vogel
e095553590
Mark contacts from not reachable servers as unreachable
2015-07-27 07:16:06 +02:00
Michael Vogel
a0011ba58e
Discover users who never are contacted.
2015-07-26 17:14:32 +02:00
Michael Vogel
e5bf7bae7b
Just some improvements ...
2015-07-26 16:52:37 +02:00
Michael Vogel
7136a39f9e
Discovery for unchecked contacts
2015-07-26 16:37:05 +02:00
Michael Vogel
166519fc4d
Move the contact discovery into the background
2015-07-26 14:41:34 +02:00
Michael Vogel
880f486044
Check not only for the last contact but also for the last update for the sanity check.
2015-07-23 22:21:22 +02:00
Michael Vogel
3622f1a335
Do some caching
2015-07-19 21:29:24 +02:00
Michael Vogel
f3c83fb514
Automatically updating the searched contacts while searching it.
2015-07-19 18:02:24 +02:00
Michael Vogel
2a5fb7b175
Option to discover contacts from remote users (fallback option)
2015-07-19 09:41:36 +02:00
Michael Vogel
cf3214c904
Query other servers periodically for their known contacts
2015-07-18 22:26:06 +02:00