Browse Source

ckdb - paymentaddresses requires a DLPRIO above intransient

master
kanoi 8 years ago
parent
commit
6e5f985395
  1. 3
      src/ckdb.c
  2. 2
      src/ckdb.h

3
src/ckdb.c

@ -2267,11 +2267,12 @@ static void alloc_storage()
DLPRIO(poolstats, 11); DLPRIO(poolstats, 11);
DLPRIO(userstats, 10); DLPRIO(userstats, 10);
DLPRIO(paymentaddresses, 5);
// Don't currently nest any locks in these: // Don't currently nest any locks in these:
DLPRIO(esm, PRIO_TERMINAL); DLPRIO(esm, PRIO_TERMINAL);
DLPRIO(workers, PRIO_TERMINAL); DLPRIO(workers, PRIO_TERMINAL);
DLPRIO(idcontrol, PRIO_TERMINAL); DLPRIO(idcontrol, PRIO_TERMINAL);
DLPRIO(paymentaddresses, PRIO_TERMINAL);
DLPRIO(ips, PRIO_TERMINAL); DLPRIO(ips, PRIO_TERMINAL);
DLPRIO(replies, PRIO_TERMINAL); DLPRIO(replies, PRIO_TERMINAL);

2
src/ckdb.h

@ -58,7 +58,7 @@
#define DB_VLOCK "1" #define DB_VLOCK "1"
#define DB_VERSION "1.0.7" #define DB_VERSION "1.0.7"
#define CKDB_VERSION DB_VERSION"-2.502" #define CKDB_VERSION DB_VERSION"-2.503"
#define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL " - from %s %s() line %d"
#define WHERE_FFL_HERE __FILE__, __func__, __LINE__ #define WHERE_FFL_HERE __FILE__, __func__, __LINE__

Loading…
Cancel
Save