aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2022-02-08 15:14:16 +0100
committerMario Vavti <mario@mariovavti.com>2022-02-08 15:14:16 +0100
commit21c4ec2de0f26341c3dcfda2c03f2db6be2795bf (patch)
tree596391f57294e8411a85957aa8dd1667b1cd4bfe /Zotlabs/Lib
parent99dcdee67ab3521bd3e5e58ba4a85182b7a44890 (diff)
downloadvolse-hubzilla-21c4ec2de0f26341c3dcfda2c03f2db6be2795bf.tar.gz
volse-hubzilla-21c4ec2de0f26341c3dcfda2c03f2db6be2795bf.tar.bz2
volse-hubzilla-21c4ec2de0f26341c3dcfda2c03f2db6be2795bf.zip
fix php error in externals and streamline actor cache time
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Libzot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index e78cb4568..e4d8d2275 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -3172,7 +3172,7 @@ class Libzot {
}
static function update_cached_hubloc($hubloc) {
- if ($hubloc['hubloc_updated'] > datetime_convert('UTC','UTC','now - 1 week') || $hubloc['hubloc_url'] === z_root()) {
+ if ($hubloc['hubloc_updated'] > datetime_convert('UTC','UTC','now - 3 days') || $hubloc['hubloc_url'] === z_root()) {
return;
}
self::refresh( [ 'hubloc_id_url' => $hubloc['hubloc_id_url'] ] );