generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
bugSomething isn't workingSomething isn't working
Description
aws-advanced-python-wrapper/aws_advanced_python_wrapper/custom_endpoint_plugin.py
Line 235 in c18dfd5
| _CACHE_CLEANUP_RATE_NS: ClassVar[int] = 6 * 10 ^ 10 # 1 minute |
The stated comment says that 6 * 10 ^ 10 is 1 minute, but it is in-fact 54 nanoseconds, cause ^ is XOR in Python.
This then causes the cleanup threads to frantically spin.
Just importing the module causes the CPU to immediately spike.
danieleldjarnaxelg12 and karthich
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working