Struct AsyncService::Config

Nested Relationships

This struct is a nested type of Class AsyncService.

Struct Documentation

struct Config

Public Members

size_t numWorkers = {1}

How many worker translation threads to spawn.

size_t cacheSize = {0}

Size in History items to be stored in the cache.

Loosely corresponds to sentences to cache in the real world. A value of 0 means no caching.

Logger::Config logger

Public Static Functions

template<class App>
static void addOptions(App &app, Config &config)