mirror of
https://github.com/gravitational/teleport
synced 2024-10-21 01:34:01 +00:00
f0da64fb63
* Do not log EOF errors, avoid polluting logs * Trim space from tokens when reading from file * Do not use dir based caching The caching problem deserves a separate explanation. Directory backend is not concurrent friendly - it has a fundamental design flaw - multiple gorotuines writing to the same file corrupt cache data. This requires either redesign of the backend or switching to boltdb backend for caching. Boltdb backend uses transactions and is safe for concurrent access. This PR changes local cache to use boltdb instead of the dir backend that is now used only in tests. |
||
---|---|---|
.. | ||
cfg.go | ||
cfg_test.go | ||
service.go | ||
service_test.go | ||
supervisor.go | ||
tpl.go |