Comments (4)
Maybe we can wait until notify 5.0.0 is out.
from pegasus.
Notify 5.0.0 is out. https://github.com/notify-rs/notify/blob/main/examples/async_monitor.rs
from pegasus.
It seems like notify 5.0.0-pre.13 finally fixed this and allow users to provide a callback instead of a std::sync::mpsc::Sender
.
from pegasus.
Notes for future reference:
- We edit
queue.yaml
ourselves, so we need to remove events generated by ourselves. - From the docs:
If you use a delay of more than 30 seconds, you can avoid receiving repetitions of previous events on macOS.
. So basically thedelay
we specify seems to be a trade-off between duplicate events and responsiveness. And there is not much advantage in usingnotify
if we are to specify a delay larger than three seconds. Will have to look into this.
from pegasus.
Related Issues (13)
- Upgrade to openssh v0.9.0 with native-mux feature? HOT 10
- Graceful shutdown HOT 1
- Run the scheduling loop until all commands finish executing
- Consuming jobs in a finer granularity
- Cancelling commands HOT 1
- Switch templating engine to liquid
- Check SSH connection before sched loop
- Support dynamically updating `hosts.yaml`
- Find a way to display progress
- Ctrl-c is the wrong key to trigger cancellation HOT 4
- Terminate peacefully on connection failure HOT 1
- localhost specialization HOT 1
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 pegasus.