Commit Graph

497 Commits

Author SHA1 Message Date
Alex Renoki 6a23016f98 Registering routes 2020-09-11 08:29:48 +03:00
Alex Renoki 544b0a120d wip 2020-09-10 23:20:19 +03:00
Alex Renoki 7a77445122 wip 2020-09-10 23:16:17 +03:00
rennokki 341eb9604f
Apply fixes from StyleCI (#518) 2020-09-10 21:59:49 +02:00
Alex Renoki 6f32b89459 wip 2020-09-10 22:59:26 +03:00
Alex Renoki de6b1b28ba Reverted more __call() to direct calls 2020-09-07 09:34:06 +03:00
Alex Renoki 3555b471cd Fixed bug for non-int values 2020-09-06 20:29:33 +03:00
Alex Renoki 3ce55575a0 Fixed possible errors with null values 2020-09-06 19:44:35 +03:00
Alex Renoki 4fea039855 Added missing $replicator 2020-09-06 13:18:41 +03:00
Alex Renoki bd3aa90b65 Replaced __call with direct function call 2020-09-06 13:13:03 +03:00
Alex Renoki 5ba24cb80c Fixed tests for stats metrics 2020-09-06 10:53:03 +03:00
Alex Renoki 593c48f8c2 Fixed statistics logger 2020-09-05 22:41:02 +03:00
Alex Renoki b45d786bfd Merge branch '2.x' of github.com:beyondcode/laravel-websockets into fix/app-connections-count 2020-09-05 10:29:08 +03:00
Alex Renoki e6cfa85472 Replaced blocking Redis instance with non-blocking I/O client 2020-09-04 17:50:49 +03:00
rennokki a391f5afb2
formatting 2020-09-04 16:53:42 +03:00
Francis Lavoie f2a30bcb6f
Update ConfigAppManager.php 2020-09-04 09:23:43 -04:00
Francis Lavoie 5cb398f672
Update AppManager.php 2020-09-04 09:23:24 -04:00
Francis Lavoie c51a9806cb
Update App.php 2020-09-04 09:23:03 -04:00
Alex Renoki 0cb0e6c3b7 Added local driver as default 2020-09-04 12:00:04 +03:00
Alex Renoki 037500004d Remove duplicated method. 2020-09-04 11:58:01 +03:00
Alex Renoki b9dfecab68 Using separate connection counts for global & local. 2020-09-04 11:34:33 +03:00
Alex Renoki e9ec650010 Removed $redis from RedisClient 2020-09-04 09:49:14 +03:00
Alex Renoki a45c0bf9cc Using the Redis non-blocking client. 2020-09-04 09:47:23 +03:00
Francis Lavoie 1389b6ca0a
Update ConfigAppManager.php 2020-09-03 21:11:45 -04:00
Francis Lavoie 349fb54ae6
Update AppManager.php 2020-09-03 21:10:50 -04:00
Francis Lavoie 25ff1d668c
Fix docblocks in App
Frankly, I don't understand why the typing was removed from these methods in https://github.com/beyondcode/laravel-websockets/pull/471, seems like a strange decision.
2020-09-03 21:10:00 -04:00
Alex Renoki 21db4b3252 Using the concatenated string for the config retrieve 2020-09-03 16:50:55 +03:00
Alex Renoki d5a90d8440 Using the built-in Redis cache connection to handle non-pubsub features. 2020-09-03 16:50:37 +03:00
Alex Renoki fadb3fc123 Added redis connection counter. 2020-09-03 16:31:19 +03:00
Alex Renoki ebfab2efd0 Fixed wrong keys names. 2020-09-03 07:04:05 +03:00
Alex Renoki 9938cf6ae2 Moved the statistics logger to the replication driver 2020-09-03 06:59:01 +03:00
rennokki fd46b0cb0b
Apply fixes from StyleCI (#496) 2020-09-02 16:16:57 +02:00
Alex Renoki 545501d575 Added events for sub/unsub/messages sent 2020-09-02 17:16:34 +03:00
Alex Renoki 0596d1ad48 Revert "Making channels easily extendable by replacing contents with traits."
This reverts commit 97e215b68e.
2020-09-02 15:06:28 +03:00
Alex Renoki 204f6cb90c Fix typo 2020-09-02 14:49:58 +03:00
rennokki a8764bd293
Apply fixes from StyleCI (#494) 2020-09-02 13:45:10 +02:00
Alex Renoki 97e215b68e Making channels easily extendable by replacing contents with traits. 2020-09-02 14:44:44 +03:00
Alex Renoki 3e239a0728 Added custom handlers for all registered routes. 2020-09-02 11:57:52 +03:00
Alex Renoki f1a14fbd1d Passing $appId on createRecord() 2020-08-30 21:23:06 +03:00
Alex Renoki 1923ceedea Moved the create record into a separate method. 2020-08-30 20:07:24 +03:00
Alex Renoki 5b6bdf49e4 Added configurable client for each replication driver. 2020-08-28 19:44:54 +03:00
Alex Renoki 00faff7f04 Setting defaults to current connection count 2020-08-28 14:11:09 +03:00
Alex Renoki ee8681a459 Use a RedisLock to avoid race conditions. 2020-08-27 22:28:22 +03:00
rennokki edcc2f9582
Apply fixes from StyleCI (#491) 2020-08-27 21:13:50 +02:00
Alex Renoki 70eeb005ef Added redis logger 2020-08-27 22:13:19 +03:00
Alex Renoki 66252c1294 Renamed path to Concerns 2020-08-27 21:57:58 +03:00
Alex Renoki 1616321d44 Fixed double broadcasting. 2020-08-27 14:35:29 +03:00
rennokki 4aec422ea9
Apply fixes from StyleCI (#489) 2020-08-27 13:13:37 +02:00
Alex Renoki a897ce2cd3 Fixed backend streaming 2020-08-27 14:13:17 +03:00
Alex Renoki c79bac07c4 Fixed the subscribed topic names 2020-08-24 14:06:58 +03:00