Skip to content

Commit

Permalink
requirement for unqualified import of Aggregate is no longer actual
Browse files Browse the repository at this point in the history
  • Loading branch information
lyokha committed Mar 18, 2024
1 parent 397b8ec commit 399138e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions NgxExport/Tools/Aggregate.hs
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,6 @@ sendAggregate a = const $ do
-- have already been terminated. The inactive PIDs get checked every
-- /asPurgeInterval/, and data which correspond to PIDs with timestamps older
-- than /asPurgeInterval/ get removed.
--
-- Be aware that due to limitations of Template Haskell, this name must be
-- imported unqualified!
data AggregateServerConf =
AggregateServerConf { asPort :: Int
, asPurgeInterval :: TimeInterval
Expand Down Expand Up @@ -509,9 +506,6 @@ ngxExportAggregateService f a = do
]
]
#ifdef SNAP_AGGREGATE_SERVER
-- FIXME: name AggregateServerConf must be imported from the user's
-- module unqualified (see details in NgxExport/Tools/SimpleService.hs,
-- function ngxExportSimpleService')!
,ngxExportSimpleServiceTyped
fName ''AggregateServerConf SingleShotService
#endif
Expand Down

0 comments on commit 399138e

Please sign in to comment.