"use strict";

var cacheManager = require("cache-manager");

module.exports = {
    // cache system (see https://github.com/BryanDonovan/node-cache-manager)
    Cache: cacheManager.caching({
        store: "memory",
        max: 5000,
        ttl: 60 * 60
    }),
    // default request timeout values
    DefaultOpenTimeout: 10 * 1000, // 10 seconds; timeout in milliseconds
    DefaultReadTimeout: 0 * 1000, // 0 seconds; timeout in milliseconds
    // socks proxy url to use
    ProxyURL: null, // e.g. "socks://127.0.0.1:1080"
    // default Park Settings
    DefaultParkName: "Default Park",
    DefaultParkTimezone: "Europe/London",
    DefaultParkTimeFormat: null,
    // cache settings (in seconds)
    DefaultCacheWaitTimesLength: 60 * 5, // 5 minutes
    DefaultCacheOpeningTimesLength: 60 * 60, // 1 hour
    // default time return format
    DefaultTimeFormat: "YYYY-MM-DDTHH:mm:ssZ",
    // default date return format
    DefaultDateFormat: "YYYY-MM-DD",
};
"use strict";

var cacheManager = require("cache-manager");

module.exports = {
    // cache system (see https://github.com/BryanDonovan/node-cache-manager)
    Cache: cacheManager.caching({
        store: "memory",
        max: 5000,
        ttl: 60 * 60
    }),
    // default request timeout values
    DefaultOpenTimeout: 10000, // 10 seconds; timeout in milliseconds
    DefaultReadTimeout: 0, // 0 seconds; timeout in milliseconds
    // socks proxy url to use
    ProxyURL: null, // e.g. "socks://127.0.0.1:1080"
    // default Park Settings
    DefaultParkName: "Default Park",
    DefaultParkTimezone: "Europe/London",
    DefaultParkTimeFormat: null,
    // cache settings (in seconds)
    DefaultCacheWaitTimesLength: 60 * 5, // 5 minutes
    DefaultCacheOpeningTimesLength: 60 * 60, // 1 hour
    // default time return format
    DefaultTimeFormat: "YYYY-MM-DDTHH:mm:ssZ",
    // default date return format
    DefaultDateFormat: "YYYY-MM-DD",
};
Use exact default values from needle docs for clarity