Efficiently run periodic, on-demand actions
31.23 KB
built 2026-10-13 23:21:51 GMT
Description
A common problem is the desire to have an action run at a scheduled
interval, but only if it is needed. For example, instead of having
every web request result in a new getCurrentTime call, we'd like to
have a single worker thread run every second, updating an IORef.
However, if the request frequency is less than once per second,
this is a pessimization, and worse, kills idle GC.
This library allows you to define actions which will either be
performed by a dedicated thread or, in times of low volume, will be
executed by the calling thread.
Dependencies
13 totalRequires11
- ghc-Cabal-devel
- ghc-HUnit-devel
- ghc-base-devel
- ghc-exceptions-devel
- ghc-hspec-devel
- ghc-hspec-discover-devel
- ghc-retry-devel
- ghc-rpm-macros
- ghc-stm-devel
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides2
- ghc-auto-update = 0.2.6-6.fc45
- ghc-auto-update-devel = 0.2.6-6.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| auto-update-0.2.6.tar.gz | 14.37 KB |
| ghc-auto-update.spec | 7.65 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
