Skip to content

Commit cb7219e

Browse files
committed
update README
1 parent e56ce99 commit cb7219e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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
154155
export ARCHIVE_DB_USER=myuser
155156
export ARCHIVE_DB_PASSWORD=mypass
156157
export ARCHIVE_DB_NAME=mydb
158+
export ARCHIVE_DB_SSLMODE=disable
157159
export ARCHIVE_S3_ENDPOINT=https://fsn1.your-objectstorage.com
158160
export ARCHIVE_S3_BUCKET=my-bucket
159161
export ARCHIVE_S3_ACCESS_KEY=your_key
@@ -175,6 +177,7 @@ db:
175177
user: myuser
176178
password: mypass
177179
name: mydb
180+
sslmode: disable # Options: disable, require, verify-ca, verify-full
178181

179182
s3:
180183
endpoint: https://fsn1.your-objectstorage.com
@@ -255,7 +258,7 @@ Access the viewer at `http://localhost:8080` (or your configured port).
255258
The 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

Comments
 (0)