twindex-openclaw-plugin 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/poll-service.ts +6 -1
package/package.json
CHANGED
package/src/poll-service.ts
CHANGED
|
@@ -92,7 +92,12 @@ export function createNotificationService(api: any) {
|
|
|
92
92
|
id: "twindex-notifications",
|
|
93
93
|
|
|
94
94
|
start() {
|
|
95
|
-
|
|
95
|
+
// Clear any stale timer from a previous gateway reload
|
|
96
|
+
if (timer) {
|
|
97
|
+
clearInterval(timer);
|
|
98
|
+
timer = null;
|
|
99
|
+
}
|
|
100
|
+
|
|
96
101
|
const apiKey = getApiKey();
|
|
97
102
|
if (!apiKey) {
|
|
98
103
|
logger?.info?.("Twindex: no API key — poll service waiting for setup");
|