aspiers/github-notifications

make constants configurable

Aberta

#1 aberto em 27 de fev. de 2017

 (0 comentário) (0 reação) (0 responsável)Ruby (1 fork)github user discovery
enhancementhelp wanted

Métricas do repositório

Stars
 (2 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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"

Guia do colaborador