release: v1.0.1

This commit is contained in:
acgnhiki 2021-08-12 11:44:39 +08:00
parent e41cf3181d
commit 9ef43ac554
4 changed files with 18 additions and 2 deletions

9
CHANGELOG.md Normal file
View File

@ -0,0 +1,9 @@
# 更新日志
## 1.0.1
- 修复了一个小 bug
## 1.0.0
- 第一个正式版发布

View File

@ -105,6 +105,12 @@
---
## 更新日志
[CHANGELOG](CHANGELOG.md)
---
## 常见问题
### 如何终止程序?

View File

@ -1,3 +1,3 @@
__version__ = '1.0.0'
__version__ = '1.0.1'
__prog__ = 'blrec'

View File

@ -231,6 +231,8 @@ class StreamRecorder(
with requests.Session() as self._session:
self._main_loop()
except TryAgain:
pass
except Exception as e:
self._handle_exception(e)
finally:
@ -248,7 +250,6 @@ class StreamRecorder(
retry_if_exception(lambda e: not isinstance(e, OSError))
),
wait=wait_exponential_for_same_exceptions(max=60),
stop=stop_after_delay(1800),
before_sleep=before_sleep_log(logger, logging.DEBUG, 'main_loop'),
):
with attempt: