mirror of
https://github.com/emqx/neuron.git
synced 2026-10-24 02:39:13 +08:00
Merge pull request #1407 from eeff/v2.4
Pick to 2.4 fix: persist node_count and tag_count to signed number
This commit is contained in:
@@ -54,8 +54,8 @@ static const char *plugin_file = "persistence/plugins.json";
|
||||
static const char *db_file = "persistence/sqlite.db";
|
||||
static sqlite3 * global_db = NULL;
|
||||
pthread_rwlock_t global_rwlock = PTHREAD_RWLOCK_INITIALIZER;
|
||||
static size_t global_node_count = 0;
|
||||
static size_t global_tag_count = 0;
|
||||
static int global_node_count = 0;
|
||||
static int global_tag_count = 0;
|
||||
|
||||
static inline bool ends_with(const char *str, const char *suffix)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user