Merge branch 'develop' of ssh://github.com/alice-lg/alice-lg into develop

This commit is contained in:
Annika Hannig 2023-11-23 17:24:43 +01:00
commit 7e92e99be3
No known key found for this signature in database
GPG Key ID: 62E226E47DDCE58D
2 changed files with 7 additions and 1 deletions

View File

@ -5,6 +5,12 @@
* Added memory pools for deduplicating route information.
This drastically reduces the memory consumption.
* Single table birdwatcher source is now using stream
response parsing. This also reduces the memory consumption.
However, as there are now waiting times, CPU load can get
high. You can introduce a delay while parsing with the
`stream_parser_throttle` parameter in the config.
* Improved search performance and timeout handling.

View File

@ -940,7 +940,7 @@ func LoadConfig(file string) (*Config, error) {
parsedConfig.Section("postgres").MapTo(&psql)
if server.StoreBackend == "postgres" {
if psql.URL == "" {
return nil, ErrPostgresUnconfigured
psql.URL = "postgres:///?sslmode=prefer"
}
}