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 8dc70fe commit 0890891Copy full SHA for 0890891
README.md
@@ -36,9 +36,17 @@ This will create an executable and store it in
36
`synapse_auto_compressor/target/debug/synapse_auto_compressor`.
37
38
## Example usage
39
+
40
+Compress 100 chunks of size 500 in a remote PostgreSQL database:
41
```
42
$ synapse_auto_compressor -p postgresql://user:pass@localhost/synapse -c 500 -n 100
43
44
45
+Compress 100 chunks of size 500 using local PostgreSQL socket:
46
+```
47
+$ sudo -u postgres synapse_auto_compressor -p "user=postgres dbname=matrix-synapse host=/var/run/postgresql" -c 500 -n 100
48
49
50
## Running Options
51
52
- -p [POSTGRES_LOCATION] **Required**
0 commit comments