fix(onebot): continue storage updates after account startup
Start each account as soon as its message storage is ready, then continue older history updates without delaying normal account availability. Keep already started accounts online when maintenance needs to be retried. Handle preparation failures, stale completions, early exits, logout, and shutdown consistently. Add lifecycle coverage for startup ordering, automatic retries, cancellation, and account availability.
This commit is contained in:
7 files changed
+800
-29
No files matched your search
@@ -60,6 +60,10 @@
|
||||
"types": "./src/message-store.ts",
|
||||
"default": "./src/message-store.ts"
|
||||
},
|
||||
"./message-store-migration-worker": {
|
||||
"types": "./src/message-store-migration-worker.ts",
|
||||
"default": "./src/message-store-migration-worker.ts"
|
||||
},
|
||||
"./media-store": {
|
||||
"types": "./src/media-store.ts",
|
||||
"default": "./src/media-store.ts"
|
||||
|
||||
Reference in new issue
Block a user