|
14 | 14 | | `GITBASE_LANGUAGE_CACHE_SIZE`| size of the cache for the `language` UDF. The size is the maximum number of elements kept in the cache, 10000 by default |
|
15 | 15 | | `GITBASE_UAST_CACHE_SIZE` | size of the cache for the `uast` and `uast_mode` UDFs. The size is the maximum number of elements kept in the cache, 10000 by default |
|
16 | 16 | | `GITBASE_CACHESIZE_MB` | size of the cache for git objects specified as MB |
|
| 17 | +| `GITBASE_CONNECTION_TIMEOUT` | timeout used for client connections on write and reads. No timeout by default. | |
17 | 18 |
|
18 | 19 | ### Jaeger tracing variables
|
19 | 20 |
|
@@ -67,20 +68,26 @@ Help Options:
|
67 | 68 | -h, --help Show this help message
|
68 | 69 |
|
69 | 70 | [server command options]
|
70 |
| - -d, --directories= Path where the git repositories are located (standard and siva), multiple directories can be defined. Accepts globs. |
| 71 | + -d, --directories= Path where the git repositories are located (standard and siva), multiple directories can be |
| 72 | + defined. Accepts globs. |
71 | 73 | --depth= load repositories looking at less than <depth> nested subdirectories. (default: 1000)
|
72 | 74 | --host= Host where the server is going to listen (default: localhost)
|
73 | 75 | -p, --port= Port where the server is going to listen (default: 3306)
|
74 | 76 | -u, --user= User name used for connection (default: root)
|
75 | 77 | -P, --password= Password used for connection
|
76 |
| - -i, --index= Directory where the gitbase indexes information will be persisted. (default: /var/lib/gitbase/index) [$GITBASE_INDEX_DIR] |
| 78 | + -t, --timeout= Timeout used for connections [$GITBASE_CONNECTION_TIMEOUT] |
| 79 | + -i, --index= Directory where the gitbase indexes information will be persisted. (default: |
| 80 | + /var/lib/gitbase/index) [$GITBASE_INDEX_DIR] |
77 | 81 | --cache= Object cache size in megabytes (default: 512) [$GITBASE_CACHESIZE_MB]
|
78 |
| - --parallelism= Maximum number of parallel threads per table. By default, it's the number of CPU cores. 0 means default, 1 means disabled. |
| 82 | + --parallelism= Maximum number of parallel threads per table. By default, it's the number of CPU cores. 0 |
| 83 | + means default, 1 means disabled. |
79 | 84 | --no-squash Disables the table squashing.
|
80 | 85 | --trace Enables jaeger tracing [$GITBASE_TRACE]
|
81 |
| - -r, --readonly Only allow read queries. This disables creating and deleting indexes as well. [$GITBASE_READONLY] |
| 86 | + -r, --readonly Only allow read queries. This disables creating and deleting indexes as well. |
| 87 | + [$GITBASE_READONLY] |
82 | 88 | --no-git disable the load of git standard repositories.
|
83 | 89 | --no-siva disable the load of siva files.
|
84 | 90 | -v Activates the verbose mode
|
85 | 91 |
|
| 92 | +
|
86 | 93 | ```
|
0 commit comments