update: add pool loaded variable for better sync operation

This commit is contained in:
ngn
2024-07-13 14:08:18 +03:00
parent 21b49651db
commit 0ae3ffd929
6 changed files with 30 additions and 8 deletions

View File

@ -10,7 +10,8 @@ lm_pool_t *lm_pool_new(char *name, char *url) {
lm_pool_t *pool = malloc(sizeof(lm_pool_t));
bzero(pool, sizeof(lm_pool_t));
pool->available = false;
pool->available = true;
pool->loaded = false;
pool->name = name;
if (NULL != url && !lm_url_init(&pool->url, url)) {