disable SECMEM for Taler exchange, it causes massive lock contention and then scalability issues
This commit is contained in:
parent
6d6b223694
commit
17b9f39a86
@ -60,7 +60,14 @@ TALER_project_data_default (void)
|
|||||||
void __attribute__ ((constructor))
|
void __attribute__ ((constructor))
|
||||||
TALER_OS_init ()
|
TALER_OS_init ()
|
||||||
{
|
{
|
||||||
|
gcry_error_t rc;
|
||||||
|
|
||||||
GNUNET_OS_init (&taler_pd);
|
GNUNET_OS_init (&taler_pd);
|
||||||
|
if ((rc = gcry_control (GCRYCTL_DISABLE_SECMEM, 1)))
|
||||||
|
FPRINTF (stderr,
|
||||||
|
"Failed to set libgcrypt option %s: %s\n",
|
||||||
|
"DISABLE_SECMEM",
|
||||||
|
gcry_strerror (rc));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user