-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: gitpod ready #38
Conversation
Build System
Bug Fixes
ContributorsCommit-Lint commandsYou can trigger Commit-Lint actions by commenting on this PR:
|
@@ -162,9 +162,6 @@ async def peer_disconnected(peerId): | |||
'Resetting to last known ID.') | |||
peer._id = savedPeerId | |||
peer._lastServerId = savedPeerId | |||
global _is_shutting_down | |||
if not _is_shutting_down: | |||
await peer.reconnect() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reconnecting while peer is being destroyed causes an endless loop. Leave reconnect to the make_discoverable() coro.
🎉 This PR is included in version 1.4.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
## [1.4.1](v1.4.0...v1.4.1) (2021-09-21) ### Bug Fixes * allow more lenient peers id load ([1fe71b6](1fe71b6)), closes [ambianic#51](https://github.com/ivelin/peerjs-python/issues/51) * allow more lenient peers id load ([981ae27](981ae27)) * load peer ID from an empty file ([4cfe6fb](4cfe6fb)), closes [ambianic#52](https://github.com/ivelin/peerjs-python/issues/52) * load peer ID from an empty file ([b9ff9fa](b9ff9fa)) * log_level not found in config ([fb0a2da](fb0a2da)), closes [ambianic#53](https://github.com/ivelin/peerjs-python/issues/53) * log_level not found in config ([ddfedea](ddfedea)) * merge pull request [ambianic#38](https://github.com/ivelin/peerjs-python/issues/38) from ivelin/master ([12a4365](12a4365)) * peer reconnect error; closes [ambianic#31](https://github.com/ivelin/peerjs-python/issues/31) ([6b68cfa](6b68cfa)) * rename http-proxy to http_proxy ([8ee5e0b](8ee5e0b)), closes [ambianic#50](https://github.com/ivelin/peerjs-python/issues/50)
* build: update deps versions * build: test sem rel action * build: update access tokens * build: sem rel fix * build: sem rel * build: test new script Signed-off-by: ivelin <ivelin@ambianic.ai> * chore(release): 1.4.1 [skip ci] ## [1.4.1](ivelin/peerjs-python@v1.4.0...v1.4.1) (2021-09-21) ### Bug Fixes * allow more lenient peers id load ([1fe71b6](ivelin@1fe71b6)), closes [#51](https://github.com/ivelin/peerjs-python/issues/51) * allow more lenient peers id load ([981ae27](ivelin@981ae27)) * load peer ID from an empty file ([4cfe6fb](ivelin@4cfe6fb)), closes [#52](https://github.com/ivelin/peerjs-python/issues/52) * load peer ID from an empty file ([b9ff9fa](ivelin@b9ff9fa)) * log_level not found in config ([fb0a2da](ivelin@fb0a2da)), closes [#53](https://github.com/ivelin/peerjs-python/issues/53) * log_level not found in config ([ddfedea](ivelin@ddfedea)) * merge pull request [#38](https://github.com/ivelin/peerjs-python/issues/38) from ivelin/master ([12a4365](ivelin@12a4365)) * peer reconnect error; closes [#31](https://github.com/ivelin/peerjs-python/issues/31) ([6b68cfa](ivelin@6b68cfa)) * rename http-proxy to http_proxy ([8ee5e0b](ivelin@8ee5e0b)), closes [#50](https://github.com/ivelin/peerjs-python/issues/50) * build: test new script Signed-off-by: ivelin <ivelin@ambianic.ai> * build: test new script Signed-off-by: ivelin <ivelin@ambianic.ai> * fix: test new script Signed-off-by: ivelin <ivelin@ambianic.ai> * chore(release): 1.4.2 [skip ci] ## [1.4.2](ivelin/peerjs-python@v1.4.1...v1.4.2) (2021-09-21) ### Bug Fixes * test new script ([5090913](ivelin@5090913)) Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
* build: update deps versions * build: test sem rel action * build: update access tokens * build: sem rel fix * build: sem rel * build: test new script Signed-off-by: ivelin <ivelin@ambianic.ai> * chore(release): 1.4.1 [skip ci] ## [1.4.1](ivelin/peerjs-python@v1.4.0...v1.4.1) (2021-09-21) ### Bug Fixes * allow more lenient peers id load ([1fe71b6](ivelin@1fe71b6)), closes [#51](https://github.com/ivelin/peerjs-python/issues/51) * allow more lenient peers id load ([981ae27](ivelin@981ae27)) * load peer ID from an empty file ([4cfe6fb](ivelin@4cfe6fb)), closes [#52](https://github.com/ivelin/peerjs-python/issues/52) * load peer ID from an empty file ([b9ff9fa](ivelin@b9ff9fa)) * log_level not found in config ([fb0a2da](ivelin@fb0a2da)), closes [#53](https://github.com/ivelin/peerjs-python/issues/53) * log_level not found in config ([ddfedea](ivelin@ddfedea)) * merge pull request [#38](https://github.com/ivelin/peerjs-python/issues/38) from ivelin/master ([12a4365](ivelin@12a4365)) * peer reconnect error; closes [#31](https://github.com/ivelin/peerjs-python/issues/31) ([6b68cfa](ivelin@6b68cfa)) * rename http-proxy to http_proxy ([8ee5e0b](ivelin@8ee5e0b)), closes [#50](https://github.com/ivelin/peerjs-python/issues/50) * build: test new script Signed-off-by: ivelin <ivelin@ambianic.ai> * build: test new script Signed-off-by: ivelin <ivelin@ambianic.ai> * fix: test new script Signed-off-by: ivelin <ivelin@ambianic.ai> * chore(release): 1.4.2 [skip ci] ## [1.4.2](ivelin/peerjs-python@v1.4.1...v1.4.2) (2021-09-21) ### Bug Fixes * test new script ([5090913](ivelin@5090913)) * chore: checkpoint Signed-off-by: ivelin <ivelin@ambianic.ai> Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
gitpod readiness