./devel/hs-auto-update, Efficiently run periodic, on-demand actions

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.2.0nb1, Package name: hs-auto-update-0.2.0nb1, Maintainer: pho

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.


Master sites:

Filesize: 11.457 KB

Version history: (Expand)


CVS history: (Expand)


   2024-04-28 22:34:00 by Masatake Daimon | Files touched by this commit (4) | Package updated
Log message:
devel/hs-auto-update: Update to 0.2.0

0.2.0
  * Creating Reaper.Internal to export Reaper constructor.
  * Hiding Reaper constructor.
  * Add reaperModify to the Reaper API, allowing workload modification
    outside of the main reaperAction loop. #985
   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-10-26 04:58:51 by Masatake Daimon | Files touched by this commit (1) | Package updated
Log message:
devel/hs-auto-update: Fix build with GHC 9.6
   2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988)
Log message:
Bump Haskell packages after updating lang/ghc94
   2023-05-01 22:43:04 by Nikita | Files touched by this commit (1) | Package updated
Log message:
hs-auto-update: fix plist to include more plist vars
   2022-02-26 04:58:36 by Masatake Daimon | Files touched by this commit (872)
Log message:
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk
   2022-02-12 09:51:00 by Masatake Daimon | Files touched by this commit (575)
Log message:
revbump after changing the default Haskell compiler
   2022-01-18 03:48:33 by Masatake Daimon | Files touched by this commit (541)
Log message:
Bump packages that depends on GHC