Page MenuHomePhabricator

Semaphore full during !fetchall --all
Closed, MigratedPublic

Description

2021-02-15 23:41:18,986 ERROR Helpmebot.CategoryWatcher.Commands.FetchAllCommand - Unhandled exception during command execution
System.Threading.SemaphoreFullException: Adding the specified count to the semaphore would cause it to exceed its maximum count.
  at System.Threading.Semaphore.Release (System.Int32 releaseCount) [0x0002e] in <6bc04dcac0a443ee834a449c98b8ed9d>:0 
  at System.Threading.Semaphore.Release () [0x00000] in <6bc04dcac0a443ee834a449c98b8ed9d>:0 
  at (wrapper remoting-invoke-with-check) System.Threading.Semaphore.Release()
  at Helpmebot.CategoryWatcher.Services.CategoryWatcherBackgroundService.ForceUpdate (System.String key, Helpmebot.Model.Channel destination) [0x001f1] in /home/stwalkerster/RiderProjects/helpmebot/src/Helpmebot.CategoryWatcher/Services/CategoryWatcherBackgroundService.cs:137 
  at Helpmebot.CategoryWatcher.Commands.FetchAllCommand+<Execute>d__3.MoveNext () [0x00157] in /home/stwalkerster/RiderProjects/helpmebot/src/Helpmebot.CategoryWatcher/Commands/FetchAllCommand.cs:82 
  at System.Linq.Enumerable+ConcatIterator`1[TSource].MoveNext () [0x0002b] in <c5bd4c865d5d48d3b3ebe4d522fd6bd7>:0 
  at System.Collections.Generic.List`1[T].AddEnumerable (System.Collections.Generic.IEnumerable`1[T] enumerable) [0x00059] in <d13c8b563008422a8c5aaec0a74089cc>:0 
  at System.Collections.Generic.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x000f4] in <d13c8b563008422a8c5aaec0a74089cc>:0 
  at System.Collections.Generic.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00000] in <d13c8b563008422a8c5aaec0a74089cc>:0 
  at System.Linq.Enumerable+ConcatIterator`1[TSource].ToList () [0x00027] in <c5bd4c865d5d48d3b3ebe4d522fd6bd7>:0 
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <c5bd4c865d5d48d3b3ebe4d522fd6bd7>:0 
  at Stwalkerster.Bot.CommandLib.Commands.CommandUtilities.CommandBase.Run () [0x0027c] in <e9a464a4a56d4e44ae2d31863c436c9b>:0

Event Timeline

stwalkerster claimed this task.

This issue has migrated to GitHub issues