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"

貢獻者指南