libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout::FileDownloaderConfig Namespace Reference

Variables

static constexpr uint64_t BufferNetwork {1024*1024*1}
 Size of network ring buffer.
static constexpr std::chrono::seconds DownloadReadTimeout {60}
 Download read timeout in seconds.
static constexpr std::chrono::seconds BackOffInitial {1}
 Initial back-off time.
static constexpr std::chrono::seconds BackOffMax {300}
 Maximum back-off time.
static constexpr int MaxDownloadRetries {-1}
 Maximal number of download retries before cancelling download.
static constexpr char const * TemporaryFileSuffix {".download"}
 suffix of file being downloaded

Variable Documentation

◆ BackOffInitial

std::chrono::seconds osmscout::FileDownloaderConfig::BackOffInitial {1}
staticconstexpr

Initial back-off time.

◆ BackOffMax

std::chrono::seconds osmscout::FileDownloaderConfig::BackOffMax {300}
staticconstexpr

Maximum back-off time.

◆ BufferNetwork

uint64_t osmscout::FileDownloaderConfig::BufferNetwork {1024*1024*1}
staticconstexpr

Size of network ring buffer.

◆ DownloadReadTimeout

std::chrono::seconds osmscout::FileDownloaderConfig::DownloadReadTimeout {60}
staticconstexpr

Download read timeout in seconds.

◆ MaxDownloadRetries

int osmscout::FileDownloaderConfig::MaxDownloadRetries {-1}
staticconstexpr

Maximal number of download retries before cancelling download.

◆ TemporaryFileSuffix

char const* osmscout::FileDownloaderConfig::TemporaryFileSuffix {".download"}
staticconstexpr

suffix of file being downloaded