Calvin Montgomery
d4db459ff9
Fix #647
2017-03-01 20:46:01 -08:00
Calvin Montgomery
f6c201f3ba
Add a few safeguards around channel saving
2016-12-20 00:09:24 -08:00
Calvin Montgomery
a624f45493
Fix warning in node 7
2016-11-17 23:01:20 -08:00
Calvin Montgomery
7117cd0a5e
Fix typo
2016-10-15 16:09:27 -07:00
Calvin Montgomery
d2cce4f166
Work on auto reloading partition map from redis
2016-10-15 12:36:20 -07:00
Calvin Montgomery
7b4126c32f
Add concurrency to channel saving on server shutdown
2016-08-31 21:46:54 -07:00
Calvin Montgomery
5b60a48c7f
Fix double save when reloading partition map
2016-08-31 21:33:56 -07:00
Calvin Montgomery
8b94c54d25
Fix bug causing channels to get stuck when DB is down
2016-08-31 21:32:42 -07:00
calzoneman
edb5fb6f4e
Sync announcements across partitions
2016-07-03 21:28:43 -07:00
calzoneman
056b2a48ea
Add throttling of usercount frames
2016-06-18 00:32:50 -07:00
calzoneman
b6bb0aa56d
Add redis-based channel index
2016-06-09 23:42:30 -07:00
calzoneman
6e772c6837
Add partition map reload
2016-06-08 22:54:16 -07:00
calzoneman
a360cd8808
Reject joins for channels mapped to other partitions
2016-06-07 22:47:49 -07:00
calzoneman
77465e6b49
Add partitioning logic
2016-06-06 21:54:49 -07:00
calzoneman
0a94da4d13
Use Promise.reduce() on shutdown to prevent overloading memory
2016-05-25 18:56:20 -07:00
calzoneman
a33f3d8bb0
Remove debug console.log
2016-04-23 19:54:32 -07:00
calzoneman
b69bd82a72
Add DualClusterClient for live testing phase of backend/frontend split
2016-04-23 19:53:18 -07:00
calzoneman
98d3090c7d
Move BackendModule import
2016-02-15 17:21:28 -08:00
calzoneman
cada5f0b0a
Actually make the legacy mode default
2016-02-09 22:59:48 -08:00
calzoneman
e6234297a1
Merge
2016-02-09 20:13:58 -08:00
calzoneman
50124c8a45
Refactor backend initialization
2016-02-04 21:43:20 -08:00
calzoneman
ba54848db5
mediarefresher: fix memory leak from dangling timers
2016-01-30 19:42:55 -08:00
calzoneman
86abebf9bf
Add RedisClusterClient
2016-01-28 19:51:59 -08:00
calzoneman
dd73a8ee9a
Automatically publish backend address to the pool
2016-01-20 23:11:55 -08:00
calzoneman
b536c15758
Initial hacks to get the split to work
2015-12-26 15:07:03 -08:00
calzoneman
be4011cda1
Replace old ActiveLock system with a slightly better one
...
CyTube has been crashing recently due to things attempting to release
the reference after the channel was already closed (apparently the
uncaughtException handler isn't called for this?). This newer
implementation keeps track of what is ref'ing and unref'ing it, so it
can log an error if it detects a discrepancy.
Also changed the server to not delete the refCounter field from the
channel when it's unloaded, so that should reduce the number of errors
stemming from it being null/undefined.
2015-12-25 17:07:25 -08:00
calzoneman
bfe76dae0e
Check X-Forwarded-For on sockets ( resolves #528 )
2015-12-12 16:59:58 -08:00
calzoneman
5ead24e45e
Merge branch '3.0' into web-refactoring
2015-11-02 21:07:50 -08:00
calzoneman
6505aa2f5e
More refactoring
2015-11-01 17:42:20 -08:00
calzoneman
23333ee266
Remove console logging of clientErrors from HTTP/socket.io
2015-10-30 22:26:20 -07:00
calzoneman
13d4a49976
Move contact page to its own route handler
2015-10-27 22:04:21 -07:00
calzoneman
50ca141f1d
Web refactoring
2015-10-26 22:56:53 -07:00
calzoneman
56a2a52bdd
Fixes
2015-10-01 22:02:59 -07:00
calzoneman
20dc871303
Use create-error for better error creation
2015-09-24 23:36:05 -07:00
calzoneman
5ec9c2b029
Start refactoring channel storage
2015-09-23 21:56:04 -07:00
calzoneman
0109a87e55
package: build with babel for ES2015 support
...
* Rename lib/ -> src/
* Add `postinstall` npm target for compiling src files to lib
* Add `build-watch` npm target for development with babel --watch
* Add `lib/` to .gitignore
* Add `source-map-support` module for babel-generated sourcemaps
2015-09-23 19:27:04 -07:00