You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/logtail
Brad Fitzpatrick a315336287 logtail: change batched upload mechanism to not use CPU when idle
The mobile implementation had a 2 minute ticker going all the time
to do a channel send. Instead, schedule it as needed based on activity.

Then we can be actually idle for long periods of time.

Updates #3363

Change-Id: I0dba4150ea7b94f74382fbd10db54a82f7ef6c29
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
backoff all: adjust some log verbosity 2 years ago
example refactor: move from io/ioutil to io and os packages 2 years ago
filch refactor: move from io/ioutil to io and os packages 2 years ago
.gitignore Move Linux client & common packages into a public repo. 4 years ago
README.md Move Linux client & common packages into a public repo. 4 years ago
api.md Move Linux client & common packages into a public repo. 4 years ago
buffer.go logtail, net/portmapper, wgengine/magicsock: use fmt.Appendf 2 years ago
id.go all: fix spelling mistakes 2 years ago
id_test.go logtail: add ParsePublicID that doesn't allocate 4 years ago
logtail.go logtail: change batched upload mechanism to not use CPU when idle 2 years ago
logtail_test.go refactor: move from io/ioutil to io and os packages 2 years ago

README.md

Tailscale Logs Service

This github repository contains libraries, documentation, and examples for working with the public API of the tailscale logs service.

For a very quick introduction to the core features, read the API docs and peruse the logs reprocessing example.

For more information, write to info@tailscale.io.