"bot_token" : "",
"bot_visibility" : "unlisted",
"slogan" : "### Your footer slogan ###",
- "recheck_instance" : 43200,
+ "recheck_instance" : 172800,
"recheck_block" : 43200,
"misskey_offset" : 100,
"error_log_cleanup" : 604800
# DEBUG: print("DEBUG: Updating last_blocked for domain", domain)
nodeinfos["last_blocked"] = time.time()
- nodeinfos["last_updated"] = time.time()
# Running pending updated
# DEBUG: print(f"DEBUG: Invoking update_nodeinfos({domain}) ...")
raise ValueError(f"WARNING: No fields have been set, but method invoked, domain='{domain}'")
# DEBUG: print(f"DEBUG: sql_string='{sql_string}',fields()={len(fields)}")
- sql = "UPDATE instances SET" + sql_string + " last_status_code = NULL, last_error_details = NULL WHERE domain = ? LIMIT 1"
+ sql = "UPDATE instances SET" + sql_string + " last_status_code = NULL, last_error_details = NULL, last_updated = TIME() WHERE domain = ? LIMIT 1"
# DEBUG: print("DEBUG: sql:", sql)
try:
res = str(res)
# DEBUG: print("DEBUG: AFTER res[]:", type(res))
- nodeinfos["last_updated"][domain] = time.time()
if type(res) is str:
# DEBUG: print(f"DEBUG: Setting last_error_details='{res}'");
nodeinfos["last_status_code"][domain] = 999
# DEBUG: print("DEBUG: Updating last_instance_fetch for domain:", domain)
nodeinfos["last_instance_fetch"][domain] = time.time()
- nodeinfos["last_updated"][domain] = time.time()
# Running pending updated
# DEBUG: print(f"DEBUG: Invoking update_nodeinfos({domain}) ...")