|
272 | 272 | "resources": { |
273 | 273 | "type": "object", |
274 | 274 | "description": "Resource requirements" |
| 275 | + }, |
| 276 | + "pgstacSettings": { |
| 277 | + "type": "object", |
| 278 | + "description": "PgSTAC database configuration settings", |
| 279 | + "properties": { |
| 280 | + "queue_timeout": { |
| 281 | + "type": "string", |
| 282 | + "default": "10 minutes", |
| 283 | + "description": "Timeout for queued queries (PostgreSQL interval format)" |
| 284 | + }, |
| 285 | + "use_queue": { |
| 286 | + "type": "string", |
| 287 | + "enum": ["true", "false"], |
| 288 | + "default": "true", |
| 289 | + "description": "Enable/disable query queue mechanism" |
| 290 | + }, |
| 291 | + "update_collection_extent": { |
| 292 | + "type": "string", |
| 293 | + "enum": ["true", "false"], |
| 294 | + "default": "false", |
| 295 | + "description": "Auto-update collection extents when items are added/modified" |
| 296 | + }, |
| 297 | + "context": { |
| 298 | + "type": "string", |
| 299 | + "enum": ["on", "off", "auto"], |
| 300 | + "default": "auto", |
| 301 | + "description": "Context mode for search results" |
| 302 | + }, |
| 303 | + "context_estimated_count": { |
| 304 | + "type": "string", |
| 305 | + "default": "100000", |
| 306 | + "description": "Row threshold for using estimates instead of exact counts" |
| 307 | + }, |
| 308 | + "context_estimated_cost": { |
| 309 | + "type": "string", |
| 310 | + "default": "100000", |
| 311 | + "description": "Query cost threshold for using estimates" |
| 312 | + }, |
| 313 | + "context_stats_ttl": { |
| 314 | + "type": "string", |
| 315 | + "default": "1 day", |
| 316 | + "description": "Cache duration for context statistics (PostgreSQL interval)" |
| 317 | + } |
| 318 | + } |
| 319 | + }, |
| 320 | + "queueProcessor": { |
| 321 | + "type": "object", |
| 322 | + "description": "Queue processor CronJob configuration (active when use_queue is true)", |
| 323 | + "properties": { |
| 324 | + "schedule": { |
| 325 | + "type": "string", |
| 326 | + "default": "0 * * * *", |
| 327 | + "description": "Cron schedule for processing queued queries" |
| 328 | + }, |
| 329 | + "command": { |
| 330 | + "type": "string", |
| 331 | + "default": "SELECT run_queued_queries();", |
| 332 | + "description": "SQL command to process queue" |
| 333 | + } |
| 334 | + } |
| 335 | + }, |
| 336 | + "extentUpdater": { |
| 337 | + "type": "object", |
| 338 | + "description": "Extent updater CronJob configuration (active when update_collection_extent is false)", |
| 339 | + "properties": { |
| 340 | + "schedule": { |
| 341 | + "type": "string", |
| 342 | + "default": "0 2 * * *", |
| 343 | + "description": "Cron schedule for updating collection extents" |
| 344 | + }, |
| 345 | + "command": { |
| 346 | + "type": "string", |
| 347 | + "default": "SELECT update_collection_extents();", |
| 348 | + "description": "SQL command to update extents" |
| 349 | + } |
| 350 | + } |
275 | 351 | } |
276 | 352 | } |
277 | 353 | } |
|
0 commit comments