File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 32
32
- uses : haskell/actions/setup@v1
33
33
with :
34
34
ghc-version : ${{ matrix.ghc }}
35
- cabal-version : ' 3.2 '
35
+ cabal-version : ' 3.4 '
36
36
- name : Update cabal package database
37
37
run : cabal update
38
38
- name : Build
@@ -126,7 +126,7 @@ jobs:
126
126
- uses : haskell/actions/setup@v1
127
127
with :
128
128
ghc-version : ${{ matrix.ghc }}
129
- cabal-version : ' 3.2 '
129
+ cabal-version : ' 3.4 '
130
130
- name : Update cabal package database
131
131
run : cabal update
132
132
- name : Build
Original file line number Diff line number Diff line change @@ -87,8 +87,7 @@ microservice httpRequestCounter = \req respond -> withSpan "handle_http_request"
87
87
_ -> do
88
88
bg_work <- async $ withSpan_ " background_task" do
89
89
replicateM_ 3 $ do
90
- tasks <- forM [1 .. 5 ] (\ i ->
91
- async $ withSpan_ (BS. pack $ printf " task %d" (i :: Int )) $ threadDelay 10000 )
90
+ tasks <- replicateM 5 (async $ withSpan_ " task" $ threadDelay 10000 )
92
91
mapM_ wait tasks
93
92
threadDelay 10000
94
93
addEvent sp " message" " started bg work"
You can’t perform that action at this time.
0 commit comments