mirror of https://github.com/citusdata/citus.git
fix memory context creation
parent
160385ca2f
commit
624e29e9e9
|
@ -159,12 +159,11 @@ 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,
|
ALLOCSET_DEFAULT_MAXSIZE);
|
||||||
ALLOCSET_DEFAULT_MAXSIZE);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* First we find all jobs that are running, we need to check if they are still running
|
* First we find all jobs that are running, we need to check if they are still running
|
||||||
|
|
Loading…
Reference in New Issue