Roman db1856de69
fix: add dispersal overhead check
- improve error handling for disperse_data
2025-02-21 19:00:04 +11:00

38 lines
733 B
Python

from time import time
from datetime import datetime, timedelta
LOG_ERROR_KEYWORDS = [
"crash",
"fatal",
"panic",
"abort",
"segfault",
"corrupt",
"terminated",
"unhandled",
"stacktrace",
"deadlock",
"SIGSEGV",
"SIGABRT",
"stack overflow",
"index out of bounds",
"nil pointer dereference",
"goroutine exit",
"nil pointer",
"runtime error",
"goexit",
"race condition",
"double free",
]
DATA_TO_DISPERSE = [
"Hello World!",
"1234567890",
'{"key": "value"}',
"这是一些中文",
"🚀🌟✨",
"Lorem ipsum dolor sit amet",
"<html><body>Hello</body></html>",
"0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF01234",
]