changed Thin started method by building a custom ARGV, protect libs loading
add a global Helpers for common functions: tokenize, format_bytes, local_port_used
check if network port is available before starting Thin
moving some constants to constants.rb
extracted logging logic to my custom Logger
brought Job.notify back to the class itself
added bitrate measuring and display in the dashboard, renamed some job’s params, improved debugging on FTP transfer
extracted some Settings.* to plain CONSTANTS
changed the way some ID’s are generated
bugfix: worker identifiers were passed by reference before forking
various minor changes & cleanup
use Rack::Reloader if not in production env
changed the way Job ID’s are given to new Jobs
moved global counters logic (total_transferred, for example) to JobQueue
plugging my new Logger into JobQueue
showing which worker is handling the job on the dashboard
moved more Job’s notification logic to Notification
parsing request JSON’s keys as symbols
big Job refactor: split transfer tasks into separate methods, added detail to status updates, protected params accessors with a mutex, addd Job.oops method, cleaned up exceptions, added job error notifications through Job.oops method
rewrote Job.replace_token