Compare commits

..

3 Commits

Author SHA1 Message Date
acgnhiki
458bd91d62 release: v1.0.2 2021-08-12 12:44:43 +08:00
acgnhiki
9ef43ac554 release: v1.0.1 2021-08-12 12:07:24 +08:00
acgnhiki
e41cf3181d add funding links 2021-08-11 14:53:29 +08:00
5 changed files with 23 additions and 2 deletions

1
.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1 @@
custom: ['https://afdian.net/@acgnhiki']

13
CHANGELOG.md Normal file
View File

@@ -0,0 +1,13 @@
# 更新日志
## 1.0.2
- 修复版本号没有更新~
## 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.2'
__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: