Commit Graph

15 Commits

Author SHA1 Message Date
Hakan Ensari
fb7761bc05 Refactor daemon 2018-10-07 01:08:45 +01:00
Hakan Ensari
fb44818efb Implement fork-based daemon for scheduling jobs
Extracted from

https://github.com/discourse/discourse/blob/master/lib/demon/sidekiq.rb
2018-10-07 01:08:45 +01:00
Hakan Ensari
c07c84ad1f Revert "Replace Unicorn with Puma"
This reverts commit 11c2d760bc.
2018-09-12 00:54:39 +01:00
Hakan Ensari
11c2d760bc Replace Unicorn with Puma 2018-07-20 21:02:46 +01:00
Hakan Ensari
cfbb4ac4ac Repack app
I'm moving my company's server to a private location now that I have sold the domain. While prepping for this, I've done some cleanup and also threw in changes I had lingering on my hard drive.

- Run a single database query instead of two
- Fold the gem into the app and use Ox instead of REXML
- Simplify error handling logic
- Relax throttling
2018-03-08 23:51:36 +00:00
Hakan Ensari
3319c49dca Spring clean code base
- Bump ruby version
- Remove obsolete files, including deploy artefacts
- Don't use pride when testing
- Store gem and app in same repo
- Switch to asdf
2017-11-09 23:30:13 +00:00
Hakan Ensari
40b4e39465 Rubocop fixes 2017-06-14 23:01:27 +01:00
Hakan Ensari
7504abe6b4 Remove unnecessary empty lines 2017-01-10 12:06:03 +00:00
Hakan Ensari
4a1f4ca3c1 Use Rubocop and fix existing offences 2017-01-03 12:36:05 +00:00
Hakan Ensari
b6b697872e Set TargetRubyVersion to 2.3 in Rubocop 2016-04-11 15:05:15 +01:00
Hakan Ensari
bb60fa8eba Use Rubocop 2016-04-11 14:39:15 +01:00
Hakan Ensari
04d847afe0 Fix worker_processes 2015-09-02 22:32:25 +01:00
Hakan Ensari
fd8b2f7a4a Allow configuring number of worker processes 2015-07-30 23:51:06 +02:00
hakanensari
311682a137 Preload app 2014-03-14 12:30:24 +00:00
Hakan Ensari
97e34dbc14 First commit 2012-11-20 16:36:12 +00:00