Merge branch 'refactor'
fix compiling err
fix
fix
fix
fix
fix syntax error
fix
fix err
reduce a global var
refactor
unguarded logs also warning email
workers have mutex lock

cause map is not goroutine safe in golang
in void of creating dup parser
more const instead of hard coding
rm
refactor
more conf params
conf
refactor