Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ shrink
Method
shrink
t/unit/worker/test_control.py:495–496 ·
view source on GitHub ↗
(self, n=1)
Source
from the content-addressed store, hash-verified
493
self.size += n
494
495
def
shrink(self, n=1):
496
self.size -= n
497
498
@property
499
def
num_processes(self):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected