# Path: forsun/utils.py
#     def ensure_bytes(s):
#     def ensure_unicode(s):
#     def ensure_bytes(s):
#     def ensure_unicode(s):
# def load_extensions(name):
# def parse_cmd(command, parse_kwargs = True, split_cmd = True):
# class ExtensionsNotFound(Exception): pass


import os
import configparser
from .utils import unicode_type, string_type, number_type, ensure_unicode

    "STORE_REDIS_HOST": "127.0.0.1",
    "STORE_REDIS_PORT": 6379,
    "STORE_REDIS_DB": 0,
    "STORE_REDIS_PASSWORD": "",
    "STORE_REDIS_PREFIX": "forsun",
    "STORE_REDIS_SERVER_ID": 0,
    "STORE_REDIS_MAX_CONNECTIONS": 8,
    "STORE_REDIS_CLIENT_TIMEOUT": 7200,
    "STORE_REDIS_BULK_SIZE": 5,
    "STORE_REDIS_CURRENTTIME_EXPRIED": 2592000,
    "STORE_REDIS_PLAN_EXPRIED": 604800,
    "STORE_REDIS_PLANTIME_EXPRIED": 604800,

    "ACTION_RETRY_DELAY_SECONDS": 3,
    "ACTION_RETRY_DELAY_RATE": 1,
    "ACTION_RETRY_MAX_COUNT": 3,
    "ACTION_POLL_IDLE_SECONDS": 120,
    "ACTION_SHELL_CWD": "/tmp",
    "ACTION_HTTP_MAX_CLIENTS": 64,
    "ACTION_HTTP_CONNECT_TIMEOUT": 5,
    "ACTION_HTTP_REQUEST_TIMEOUT": 120,
    "ACTION_HTTP_USER_AGENT": "",
    "ACTION_REDIS_MAX_CONNECTIONS": 8,
    "ACTION_REDIS_CLIENT_TIMEOUT": 7200,
    "ACTION_REDIS_BULK_SIZE": 5,
    "ACTION_THRIFT_MAX_CONNECTIONS": 64,
    "ACTION_MYSQL_USER": "root",
    "ACTION_MYSQL_PASSWD": "",
    "ACTION_MYSQL_MAX_CONNECTIONS": 8,

# Path: forsun/utils.py
#     def ensure_bytes(s):
#     def ensure_unicode(s):
#     def ensure_bytes(s):
#     def ensure_unicode(s):
# def load_extensions(name):
# def parse_cmd(command, parse_kwargs = True, split_cmd = True):
# class ExtensionsNotFound(Exception): pass


# Path: forsun/config.py
import os
import configparser
from .utils import unicode_type, string_type, number_type, ensure_unicode


    "STORE_REDIS_HOST": "127.0.0.1",
    "STORE_REDIS_PORT": 6379,
    "STORE_REDIS_DB": 0,
    "STORE_REDIS_PASSWORD": "",
    "STORE_REDIS_PREFIX": "forsun",
    "STORE_REDIS_SERVER_ID": 0,
    "STORE_REDIS_MAX_CONNECTIONS": 8,
    "STORE_REDIS_CLIENT_TIMEOUT": 7200,
    "STORE_REDIS_BULK_SIZE": 5,
    "STORE_REDIS_CURRENTTIME_EXPRIED": 2592000,
    "STORE_REDIS_PLAN_EXPRIED": 604800,
    "STORE_REDIS_PLANTIME_EXPRIED": 604800,

    "ACTION_RETRY_DELAY_SECONDS": 3,
    "ACTION_RETRY_DELAY_RATE": 1,
    "ACTION_RETRY_MAX_COUNT": 3,
    "ACTION_POLL_IDLE_SECONDS": 120,
    "ACTION_SHELL_CWD": "/tmp",
    "ACTION_HTTP_MAX_CLIENTS": 64,
    "ACTION_HTTP_CONNECT_TIMEOUT": 5,
    "ACTION_HTTP_REQUEST_TIMEOUT": 120,
    "ACTION_HTTP_USER_AGENT": "",
    "ACTION_REDIS_MAX_CONNECTIONS": 8,
    "ACTION_REDIS_CLIENT_TIMEOUT": 7200,
    "ACTION_REDIS_BULK_SIZE": 5,
    "ACTION_THRIFT_MAX_CONNECTIONS": 64,
    "ACTION_MYSQL_USER": "root",
    "ACTION_MYSQL_PASSWD": "",
    "ACTION_MYSQL_MAX_CONNECTIONS": 8,

    "ACTION_MYSQL_WAIT_CONNECTION_TIMEOUT": 7200,