Shyp / rickover

A job queue and scheduler written in Go, backed by Postgres, and available over HTTP
https://godoc.org/github.com/Shyp/rickover
MIT License
182 stars 21 forks source link

How come the code in the commands directory is example only? #11

Open caseycrites opened 7 years ago

caseycrites commented 7 years ago

At first glance, these seem fully functional, and except for the hardcoding of the test credentials, ready to go for production use. Is there a reason the user is encouraged to write their own versions?

kevinburke commented 7 years ago

I think they'd be fine, but yeah you'd want to add some sort of way to load credentials that's not hardcoding them. You might also want to configure the number of workers differently.

It might be instructive to look at the custom Shyp code that wraps these. I believe I added a custom Authenticator that either let you specify a password, or use a valid username/token that you'd use to authenticate to Control.