mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
We check mmap limits, and try to set/increase our open file limits, and we check the mmap limit when we start the server, and try to set the open file limit every time we open a holder. It's useless to do these things more than once, though. We migrate these things to be run through a sync.Once, which runs all of them the first time a server starts up, and then thereafter just returns the error code from that first run. This should make test startup ever so slightly cheaper, saving us potentially several microseconds, but also reducing the spamminess of the message. I've taken out the `sudo ulimit` advice since it's wrong, and the documentation link is updated to point to our (now private!) customer documentation. |
||
|---|---|---|
| .. | ||
| testdata/certs | ||
| cluster_test.go | ||
| config.go | ||
| config_internal_test.go | ||
| config_test.go | ||
| dup.go | ||
| dup_arm64.go | ||
| grpc.go | ||
| grpc_test.go | ||
| handler_test.go | ||
| pg.go | ||
| pg_test.go | ||
| server.go | ||
| server_test.go | ||
| sql.go | ||
| tlsconfig.go | ||
| trial.go | ||