Comments (1)
From:
It's great! And it's an example of ruby fibers for concurrency (I needed for my process to wait around 4 hours between pulling the current set of promises and whether they've been finished yet so I started with a script that exits when it's done, calls sleep for 4 hours, and then executes itself again after the wait... but that was clunky and difficult to monitor and test, so I decided to implement fibers with an "hourly heartbeat" to see if the fiber scheduler is still working and a 4-hourly scrape.)
So to the point... I have this other process, which is related to commits.to and has an hourly job
I think rather than using CronJob
resources, which are going to use Kubernetes Job
we can keep the design simpler (I don't currently manage 1 or more Kubernetes CronJob
resources, so it's simpler not to add one then...) by leveraging this process that exists which already has an hourly heartbeat! Just making a note of this here before I forget that connection.
The other half of this problem is just firing up a debugger, and ensuring that we can actually hit the /cache
endpoint without crashing the request. I had a stack dump but I don't have it handy at this moment.
from commits.to.
Related Issues (20)
- Can't see "mark as X% complete" for very overdue things HOT 4
- Change default due date to 5pm today / next business day HOT 1
- No default due dates HOT 1
- can't create promise HOT 4
- Default due date a couple hours in the past
- Make URLs case-sensitive
- Extra spaces in Details field HOT 4
- Indicate days with existing due dates in the datepicker
- Clearing tini causes 500 error HOT 1
- Promise creation emails have broken HOT 1
- "What is this?" link on all user pages (default text, user customisable) HOT 3
- "Add to GCal" reminder / link / button near "Save" button
- URLs 404 if they end in "by"
- Better tests for lib/sort.js
- Create Outlook Task (similar to "add to Gcal" button)
- Can't instanciate new server HOT 4
- Can't create promises (for new username?) HOT 4
- main website down/error HOT 4
- PSA: commits-to hosting has moved off Heroku
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from commits.to.