aspiers/github-notifications

make constants configurable

开放

#1 创建于 2017年2月27日

 (0 条评论) (0 个反应) (0 位负责人)Ruby (1 个派生)github user discovery
enhancementhelp wanted

仓库指标

星标
 (2 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

It would be better if these constants were all configurable via a YAML or .ini file:

SLEEP_INTERVAL = 5 * 60 # 5 minutes
ONLINE_CHECK_TARGET_HOST = "8.8.8.8"
PING_COUNT = 10
LOG_DIR = ENV['HOME'] + "/.log"
LOG_FILE = LOG_DIR + "/github-notifications.log"

贡献者指南