Comments (5)
+1; I wonder if it would be more useful to frame it as "channels expire after X minutes of inactivity" rather than have it specifically be about waiting for the second device to connect, as this will help guard against flows that get abandoned part-way through
from channelserver.
I think the server already does this: https://github.com/mozilla-services/channelserver/blob/master/channelserver/src/server.rs#L129
I'd prefer if the timeout was actually a lot less than 15 minutes, to be honest. Heck, might even want to display a countdown timer.
One thing I'd very much like to avoid is the channelserver retaining knowledge of recently expired channels. Currently, if a channel is connected and there's no counterpart, there's simply no communications performed. For the initiating channel request, that should be preferred, for the connecting request, not getting a response back should fail pretty fast.
from channelserver.
if party.started.elapsed()
<--- this line is a winner
"channels expire after X minutes of inactivity
I think it's reasonable to frame this way.
from channelserver.
@jrconlin the PR wasn't linked here, but I think this was fixed right?
from channelserver.
Yes, it was closed as part of #31. My apologies for missing it in the commit message.
from channelserver.
Related Issues (20)
- Convert ChannelIds to base64url HOT 2
- Automatically filter private networks from remote IP lookup HOT 2
- Production domain HOT 3
- Remove extraneous RefCells
- Refactor WS/Handlers to use DefaultHeader middleware
- Add info to /__version__ endpoint
- Seeing "No X-Forwarded-For found for proxied connection" while running locally HOT 2
- Production channel timeout is at 30 seconds HOT 1
- CODE_OF_CONDUCT.md file missing HOT 1
- Run cargo-audit in CI
- chore: Dependency Update for 10/2019 HOT 5
- chore: fix up pytest HOT 1
- Strings being shown in German HOT 17
- Statsd metrics don't appear to work
- Remove travis-ci
- Address sec advisories causing build failures
- Travis CI free usage ends Dec 3; mozilla repos should switch to other CI platforms HOT 1
- Add location test database
- Docker error due to glibc version mismatch HOT 3
- Ability to reconnect websocket when it gets closed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from channelserver.