MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / _run

Function _run

core/utils.py:620–622  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

618 so the pooled DB connection is released first.
619 """
620 def _run():
621 cleanup_memory(force_collection=True)
622 trim_c_allocator_heap()
623
624 if close_connections:
625 from django.db import close_old_connections

Callers 2

spawn_memory_trimFunction · 0.85

Calls 3

cleanup_memoryFunction · 0.85
trim_c_allocator_heapFunction · 0.85
dispatch_event_systemFunction · 0.85

Tested by

no test coverage detected