Comments (8)
The following is a sample of the formatted channel data used for subscribing:
jCbClCwMZg7eI2Z7Q0Amg4WVIJ9rspQj/test/device1/?last=10000&from=1557830446&until=1557830456
from go.
I was testing on my local emitter server. (emitter-windows-amd64.exe)
I repeated the same test on the emitter cloud and it worked as expected.
Can you tell me why this may happen?
from go.
I repeated the test with emitter-linux-amd64 on Ubuntu and it did not work as on Windows. :(
from go.
Last note: I am using the binaries I built from the latest master.
from go.
If Last works as expected then the storage is correctly configured.
Then I would say that it's a problem of UTC vs local time?
from go.
The same code is tested on cloud, local Windows and local Ubuntu.
Only the cloud works as expected.
I subscribe to a channel using last = 1000, from = now - 10 seconds and until = now.
On the cloud, no messages arrive after 10 seconds.
On the others, the non expired messages keep coming even after 10 seconds.
Can you try testing it on a local instance of emitter?
from go.
If Last works as expected then the storage is correctly configured.
I specified "provider": "ssd"
in local emitter configuration and now it works.
Can you please put this information somewhere in readme
?
from go.
This emitter-io/emitter#239 should fix range queries for the memory storage.
from go.
Related Issues (19)
- On sample code, PresenceEvent with Changes=true shows empty Who[], Occupancy 0 HOT 6
- uuid error
- Migrate from vendor to go modules HOT 1
- Reconnection fails HOT 15
- Subcribe and Publish methods does not send any errors HOT 2
- gomobile HOT 3
- tinygo for embedded HOT 2
- Getting race during reconnect HOT 2
- Message handlers not called HOT 1
- Two questions, Presence and the message history question
- can not get client ID
- I want to join developers HOT 5
- multiple-value uuid.NewV1() in single-value context HOT 1
- GenerateKey goes into deadlock state under load HOT 1
- assignment mismatch: 2 variables but 1 values HOT 3
- please update vender "github.com/satori/go.uuid" to v1.2.0 HOT 7
- github.com/emitter-io/go/options.go:33:10: assignment mismatch: 2 variables but 1 values HOT 3
- On sample code, Occupancy always shows 0 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 go.