We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7f3ce6 commit 2e3d728Copy full SHA for 2e3d728
lib/database/index.ts
@@ -159,11 +159,11 @@ export class PgStacDatabase extends Construct {
159
return {
160
maxConnections: `${maxConnections}`,
161
sharedBuffers: `${sharedBuffers / 8}`, // Represented in 8kb blocks
162
- effectiveCacheSize: `${effectiveCacheSize}`,
+ effectiveCacheSize: `${effectiveCacheSize / 8}`, // Represented in 8kb blocks
163
workMem: `${workMem}`,
164
maintenanceWorkMem: `${maintenanceWorkMem}`,
165
maxLocksPerTransaction: "1024",
166
- tempBuffers: `${tempBuffers}`,
+ tempBuffers: `${tempBuffers / 8}`, // Represented in 8kb blocks
167
seqPageCost: `${seqPageCost}`,
168
randomPageCost: `${randomPageCost}`,
169
};
0 commit comments