|
11 | 11 | | `GITBASE_INDEX_DIR` | directory to save indexes, default `/var/lib/gitbase/index` |
|
12 | 12 | | `GITBASE_TRACE` | enable jaeger tracing, default disabled |
|
13 | 13 | | `GITBASE_READONLY` | allow read queries only, disabling creating and deleting indexes, default disabled |
|
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 |
| -| `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 | |
| 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 | +| `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 | +| `GITBASE_CACHESIZE_MB` | size of the cache for git objects specified as MB | |
16 | 17 |
|
17 | 18 | ### Jaeger tracing variables
|
18 | 19 |
|
@@ -73,6 +74,8 @@ Help Options:
|
73 | 74 | -u, --user= User name used for connection (default: root)
|
74 | 75 | -P, --password= Password used for connection
|
75 | 76 | -i, --index= Directory where the gitbase indexes information will be persisted. (default: /var/lib/gitbase/index) [$GITBASE_INDEX_DIR]
|
| 77 | + --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. |
76 | 79 | --no-squash Disables the table squashing.
|
77 | 80 | --trace Enables jaeger tracing [$GITBASE_TRACE]
|
78 | 81 | -r, --readonly Only allow read queries. This disables creating and deleting indexes as well. [$GITBASE_READONLY]
|
|
0 commit comments