mirror of https://github.com/citusdata/citus.git
Remove useless check
parent
7fbbb28ee1
commit
dd36dd2530
|
@ -483,8 +483,6 @@ SharedConnectionStatsShmemSize(void)
|
||||||
|
|
||||||
size = add_size(size, sizeof(ConnectionStatsSharedData));
|
size = add_size(size, sizeof(ConnectionStatsSharedData));
|
||||||
|
|
||||||
/* size = add_size(size, mul_size(sizeof(LWLock), MaxWorkerNodesTracked)); */
|
|
||||||
|
|
||||||
Size hashSize = hash_estimate_size(MaxWorkerNodesTracked,
|
Size hashSize = hash_estimate_size(MaxWorkerNodesTracked,
|
||||||
sizeof(SharedConnStatsHashEntry));
|
sizeof(SharedConnStatsHashEntry));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue