mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 06:15:11 +00:00
import_author_xchan - since we rarely refresh zot-info for non-connections, force a cache reload once a week to catch things like profile photo updates and location changes
This commit is contained in:
parent
a4f6c24273
commit
b347e1d861
1 changed files with 1 additions and 1 deletions
|
@ -3595,7 +3595,7 @@ function import_author_zot($x) {
|
|||
dbesc($x['guid_sig'])
|
||||
);
|
||||
|
||||
if($r1 && $r2) {
|
||||
if($r1 && $r2 && $r1[0]['hubloc_updated'] > datetime_convert('UTC','UTC','now - 1 week')) {
|
||||
logger('in cache', LOGGER_DEBUG);
|
||||
return $hash;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue