fix: resolve probe_ctx_t type tag, add DEFAULT_MAX_WAL_RECORDS macro, fix atomic type consistency, move ha_seed_jitter to ha.c, add API doc comments

This commit is contained in:
Rongsong Shen 2026-05-13 14:27:07 +00:00
parent 8a9fce1be4
commit 1c4a103a66
5 changed files with 67 additions and 37 deletions

View file

@ -33,7 +33,7 @@ typedef struct {
int conf_keep_n; /* versioned file retention count (default 2) */
uint64_t config_generation; /* monotonic audit counter */
time_t conf_stale_timeout; /* seconds before saved config flagged stale (default 86400) */
int config_stale; /* 1 when saved config older than conf_stale_timeout */
int conf_stale; /* 1 when saved config older than conf_stale_timeout */
} myconf_t;
extern cluster_config_t* get_default_conf(void*);