This commit is contained in:
Dmitry Zuikov 2024-09-15 11:49:08 +03:00
parent 84f801e6d6
commit 618755473c
3 changed files with 15 additions and 3 deletions

View File

@ -15,7 +15,7 @@ fixme-attribs class
fixme-value-set workflow new backlog wip test fixed done fixme-value-set workflow new backlog wip test fixed done
fixme-value-set class hardcode performance boilerplate fixme-value-set class hardcode leak performance boilerplate
; fixme-value-set cat bug feat refactor ; fixme-value-set cat bug feat refactor
@ -44,7 +44,7 @@ fixme-comments ";" "--"
(align 10 ("[" $workflow "]")) " " (align 10 ("[" $workflow "]")) " "
(align 8 $type) " " (align 8 $class) " "
(align 12 $assigned) " " (align 12 $assigned) " "
(align 20 (trim 20 $committer-name)) " " (align 20 (trim 20 $committer-name)) " "
(trim 50 ($fixme-title)) " " (trim 50 ($fixme-title)) " "

View File

@ -63,6 +63,18 @@ data MessagingUnixOpts =
| MUKeepAlive Int | MUKeepAlive Int
deriving (Eq,Ord,Show,Generic,Data) deriving (Eq,Ord,Show,Generic,Data)
-- TODO: counters-to-detect-zombies
-- $class: leak
-- добавить счётчики для обнаружения
-- мёртвых соединений, а так же их отстрел.
-- есть основания полагать, что Messaging
-- может течь.
--
-- Шаг 1. добавить счётчики
-- Шаг 2. убедиться, что ресурсы текут
-- Шаг 3. устранить течь
-- Шаг 4. убедиться, что течь устранена
-- FIXME: use-bounded-queues -- FIXME: use-bounded-queues
data MessagingUnix = data MessagingUnix =
MessagingUnix MessagingUnix

View File

@ -117,7 +117,7 @@ work = do
-- --
-- так лучше -- так лучше
-- --
let o = [MUWatchdog 10,MUDontRetry] let o = [MUWatchdog 10]
soname <- detectRPC soname <- detectRPC
>>= orThrowUser "hbs2-peer not found" >>= orThrowUser "hbs2-peer not found"