feat(backend/ender): no comsuming
This commit is contained in:
parent
639b3a4d93
commit
f4883f481c
1 changed files with 2 additions and 1 deletions
|
|
@ -205,7 +205,8 @@ func main() {
|
|||
sessionEndGenerator.Enable()
|
||||
}
|
||||
default:
|
||||
if !memoryManager.HasFreeMemory() {
|
||||
// TODO: will trigger on every tick
|
||||
if memoryManager.HasFreeMemory() {
|
||||
continue
|
||||
}
|
||||
if err := consumer.ConsumeNext(); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue