@@ -111,6 +111,7 @@ Flags:
111111 --db-name string PostgreSQL database name
112112 --db-password string PostgreSQL password
113113 --db-port int PostgreSQL port (default 5432)
114+ --db-sslmode string PostgreSQL SSL mode (disable, require, verify-ca, verify-full) (default "disable")
114115 --db-user string PostgreSQL user
115116 -d, --debug enable debug output
116117 --dry-run perform a dry run without uploading
@@ -154,6 +155,7 @@ export ARCHIVE_DB_PORT=5432
154155export ARCHIVE_DB_USER=myuser
155156export ARCHIVE_DB_PASSWORD=mypass
156157export ARCHIVE_DB_NAME=mydb
158+ export ARCHIVE_DB_SSLMODE=disable
157159export ARCHIVE_S3_ENDPOINT=https://fsn1.your-objectstorage.com
158160export ARCHIVE_S3_BUCKET=my-bucket
159161export ARCHIVE_S3_ACCESS_KEY=your_key
175177 user : myuser
176178 password : mypass
177179 name : mydb
180+ sslmode : disable # Options: disable, require, verify-ca, verify-full
178181
179182s3 :
180183 endpoint : https://fsn1.your-objectstorage.com
@@ -255,7 +258,7 @@ Access the viewer at `http://localhost:8080` (or your configured port).
255258The cache viewer uses modern web technologies for optimal performance:
256259- ** WebSocket Protocol** : Bi-directional communication for instant updates
257260- ** Automatic Reconnection** : Reconnects every 2 seconds if connection drops
258- - ** File System Monitoring** : Watches cache directory for changes (500ms intervals)
261+ - ** Event-Driven File Monitoring** : Uses fsnotify for instant file change detection
259262- ** Efficient Updates** : Only transmits and renders changed data
260263- ** No Polling Overhead** : WebSocket eliminates the need for HTTP polling
261264
@@ -575,3 +578,4 @@ Built with these awesome libraries:
575578- [ klauspost/compress] ( https://github.com/klauspost/compress ) - Fast zstd compression
576579- [ AWS SDK for Go] ( https://github.com/aws/aws-sdk-go ) - S3 integration
577580- [ Gorilla WebSocket] ( https://github.com/gorilla/websocket ) - WebSocket implementation
581+ - [ fsnotify] ( https://github.com/fsnotify/fsnotify ) - Cross-platform file system notifications
0 commit comments