opt contains the available options. If you change this, also update the Caddy module and the documentation.
| 20 | // |
| 21 | // If you change this, also update the Caddy module and the documentation. |
| 22 | type opt struct { |
| 23 | hotReloadOpt |
| 24 | |
| 25 | ctx context.Context |
| 26 | numThreads int |
| 27 | maxThreads int |
| 28 | workers []workerOpt |
| 29 | logger *slog.Logger |
| 30 | metrics Metrics |
| 31 | phpIni map[string]string |
| 32 | maxWaitTime time.Duration |
| 33 | maxIdleTime time.Duration |
| 34 | maxRequests int |
| 35 | } |
| 36 | |
| 37 | type workerOpt struct { |
| 38 | mercureContext |
no outgoing calls