Feature/knowledge load (#372)

* Switch off retry in Cassandra until we can differentiate retryable errors

* Fix config getvalues

* Loading knowledge cores works
This commit is contained in:
cybermaggedon 2025-05-08 00:41:45 +01:00 committed by GitHub
parent fdd9a9a9ae
commit 31b7ade44d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 356 additions and 548 deletions

View file

@ -161,6 +161,7 @@ class ConfigTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -180,6 +181,7 @@ class ConfigTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -204,6 +206,7 @@ class ConfigTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -228,6 +231,7 @@ class ConfigTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -251,6 +255,7 @@ class ConfigTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -275,6 +280,7 @@ class ConfigTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -297,6 +303,7 @@ class ConfigTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)

View file

@ -232,6 +232,7 @@ class KnowledgeTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -276,6 +277,7 @@ class KnowledgeTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -320,6 +322,7 @@ class KnowledgeTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -340,6 +343,7 @@ class KnowledgeTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -370,6 +374,7 @@ class KnowledgeTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -386,6 +391,7 @@ class KnowledgeTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -406,6 +412,7 @@ class KnowledgeTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -463,6 +470,7 @@ class KnowledgeTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)

View file

@ -232,6 +232,7 @@ class LibraryTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -267,6 +268,7 @@ class LibraryTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -292,6 +294,7 @@ class LibraryTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -314,6 +317,7 @@ class LibraryTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -361,6 +365,7 @@ class LibraryTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -407,6 +412,7 @@ class LibraryTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -455,6 +461,7 @@ class LibraryTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -480,6 +487,7 @@ class LibraryTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)
@ -502,6 +510,7 @@ class LibraryTableStore:
except Exception as e:
print("Exception:", type(e))
raise e
print(f"{e}, retry...", flush=True)
await asyncio.sleep(1)