added 2 command-line parameters:

    --http-timeout
    --poll-interval

These default to the previously hard-coded values and can now be
overriden on the command line
Agreed, I was thinking the same thing.  I thought: I'll create another struct to pass the parameters, but then, you might as well just create the jobTracker struct in main.go and remove this function as it's only called once from one place.