v0.0.55 - Defer trigger loading until self-skill EOSE and add trigger subscription debug instrumentation
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <time.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "../nostr_core_lib/nostr_core/nostr_core.h"
|
||||
|
||||
#define TRIGGER_DEFAULT_MAX_ACTIVE 16
|
||||
#define TRIGGER_SKILL_SLUG_MAX 65
|
||||
@@ -24,6 +25,8 @@ typedef struct {
|
||||
int enabled;
|
||||
time_t last_fired;
|
||||
time_t last_seen_created_at;
|
||||
nostr_pool_subscription_t* subscription;
|
||||
void* subscription_ctx;
|
||||
} active_trigger_t;
|
||||
|
||||
typedef struct trigger_manager {
|
||||
|
||||
Reference in New Issue
Block a user