mirror of https://github.com/citusdata/citus.git
fix memory context creation
parent
160385ca2f
commit
624e29e9e9
|
@ -159,8 +159,7 @@ CitusBackgroundTaskMonitorMain(Datum arg)
|
||||||
pg_usleep(30 * 1000 * 1000);
|
pg_usleep(30 * 1000 * 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
MemoryContext perTaskContext =
|
MemoryContext perTaskContext = AllocSetContextCreate(CurrentMemoryContext,
|
||||||
AllocSetContextCreateExtended(CurrentMemoryContext,
|
|
||||||
"PerTaskContext",
|
"PerTaskContext",
|
||||||
ALLOCSET_DEFAULT_MINSIZE,
|
ALLOCSET_DEFAULT_MINSIZE,
|
||||||
ALLOCSET_DEFAULT_INITSIZE,
|
ALLOCSET_DEFAULT_INITSIZE,
|
||||||
|
|
Loading…
Reference in New Issue