Brian Gough
b1a1446054
remove the limit of 300 maxSockets
2021-04-29 10:29:34 +01:00
Shane Kilkelly
8006e122d5
Merge pull request #170 from overleaf/sk-logger-update-2
...
upgrade logger to 2.2.0
2021-04-14 09:58:14 +01:00
Jakob Ackermann
31a930da40
Merge pull request #163 from das7pad/jpa-cut-redis-load-mget
...
[perf] cut redis load using mget/mset only
2021-04-13 14:37:07 +02:00
Jakob Ackermann
34fc349646
[benchmarks] add benchmark for multi vs mget/mset
2021-04-13 11:47:10 +01:00
Jakob Ackermann
6e551f9b34
[perf] use MGET/MSET/DEL for manipulating multiple keys in one operation
...
In some cases we can get rid of MULTI/EXEC operations too.
- putDocInMemory: from 10 down to 2 operations
- removeDocFromMemory: from 14+4 down to 4+4 operations
- updateDoc: from 13 down to 8 operations
2021-04-13 11:47:10 +01:00
Jakob Ackermann
178440395f
[perf] switch write sequence for doc contents and doc tracking
...
Doc contents are added only after the tracking has been setup.
All read paths on the tracking have been checked to gracefully handle
the case of existing doc_id but missing doc contents.
- getDoc: -1 operation
REF: 0a2b47c660c60b95e360d8f3b3e30b862ceb6d79
2021-04-13 11:46:44 +01:00
Shane Kilkelly
83bbdfa9d1
upgrade logger to 2.2.0
2021-04-13 10:58:05 +01:00
Jakob Ackermann
0f6bd41456
Merge pull request #169 from overleaf/jpa-cut-redis-load-mget-only
...
[perf] use MGET for fetching multiple keys in one operation
2021-04-12 12:01:59 +02:00
Jakob Ackermann
50b24043b7
[perf] use MGET for fetching multiple keys in one operation
...
- getDoc: from 13 down to 2 operations
2021-04-09 08:42:35 +01:00
Simon Detheridge
dbfab633e0
Merge pull request #168 from overleaf/revert-166-sk-update-logger
...
Revert "Update logger-sharelatex to 2.2.0"
2021-04-06 15:30:02 +01:00
Simon Detheridge
8ba799035b
Revert "Update logger-sharelatex to 2.2.0"
2021-04-06 15:29:09 +01:00
Simon Detheridge
50e414a4b1
Merge pull request #166 from overleaf/sk-update-logger
...
Update logger-sharelatex to 2.2.0
2021-04-06 11:53:12 +01:00
Shane Kilkelly
1e4e4b5ec0
Update logger-sharelatex to 2.2.0
2021-04-06 11:47:22 +01:00
Simon Detheridge
66c47d7bad
Merge pull request #165 from overleaf/dependabot-npm_and_yarn-y18n-4.0.1
...
Bump y18n from 4.0.0 to 4.0.1
2021-04-06 11:45:02 +01:00
dependabot[bot]
acbbd88d8a
Bump y18n from 4.0.0 to 4.0.1
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-06 10:40:56 +00:00
Simon Detheridge
2d44a54c6c
Merge pull request #167 from overleaf/em-upgrade-node-12
...
Reintroduce Node 12 and metrics upgrades
2021-04-06 11:40:00 +01:00
Eric Mc Sween
4d70bd664f
Reintroduce Node 12 and metrics upgrades
...
These changes were previously merged, not deployed, and reverted. This
reverts the revert.
This reverts commit a6b8c6c658b33b6eee78b8b99e43308f32211ae2, reversing
changes made to 93c98921372eed4244d22fce800716cb27eca299.
2021-04-01 15:51:00 -04:00
Eric Mc Sween
2588c9b87b
Merge pull request #164 from overleaf/em-revert-node-upgrade
...
Revert Node upgrade
2021-03-31 12:11:35 -04:00
Eric Mc Sween
4dd1b26b2e
Revert "Merge pull request #161 from overleaf/em-upgrade-node-12"
...
This reverts commit d44102751b9436ad89c5b3b05e7abdff51fcc78a, reversing
changes made to 6c2f5b8d053b75c677da2b7ddd04f998d2be6fff.
2021-03-31 12:07:11 -04:00
Eric Mc Sween
b233e6588c
Revert "Merge pull request #158 from overleaf/jpa-metrics-module-3-5-1"
...
This reverts commit 93c98921372eed4244d22fce800716cb27eca299, reversing
changes made to d44102751b9436ad89c5b3b05e7abdff51fcc78a.
2021-03-31 12:06:41 -04:00
Eric Mc Sween
c4729f595f
Merge pull request #158 from overleaf/jpa-metrics-module-3-5-1
...
[misc] bump the version of the metrics module to 3.5.1
2021-03-31 10:17:16 -04:00
Jakob Ackermann
98a32833a9
[misc] bump the version of the metrics module to 3.5.1
2021-03-31 10:08:04 -04:00
Eric Mc Sween
0296b7f599
Merge pull request #161 from overleaf/em-upgrade-node-12
...
Upgrade to Node 12
2021-03-31 09:59:49 -04:00
Eric Mc Sween
1a2235a219
Upgrade to Node 12
2021-03-16 16:48:45 -04:00
Eric Mc Sween
dc5bfea181
Global test setup
...
Configure chai and SandboxedModule globally with options used in many
tests.
That required upgrading mocha and SandboxedModule.
2021-03-16 16:48:45 -04:00
Thomas
23738540ed
Fix API request errors which could contain API hostname or address ( #160 )
...
Wrap errors produced by failing requests to web API, and remove the url/hostname from thrown error messages. (But keep the URL path for info.)
2021-02-24 15:09:19 +01:00
Henry Oswald
18cbe6424c
Merge pull request #159 from overleaf/ho-remove-pending-migration-code
...
stop listening on the pending updates channels 10 times
2021-02-23 13:29:52 +00:00
Henry Oswald
20a373d95c
stop listening on the pending updates channels 10 times
2021-02-23 08:27:29 +00:00
Henry Oswald
34bfe9d3b1
Merge pull request #156 from overleaf/ho-shard-pending-queue
...
shard the pending-updates-list queue
2021-02-22 09:08:43 +00:00
Henry Oswald
c7e57cd28f
add Dispatchers running on old queue while we migrate
...
revert once migrated
2021-02-15 14:16:45 +00:00
Henry Oswald
854e24bb57
remove unneeded anonymous func
2021-02-15 14:12:28 +00:00
Henry Oswald
0cdeffae6c
fix off by 1 error in Doc updater client helper file
2021-02-09 10:50:37 +00:00
Henry Oswald
bcfc7e66fc
add missing comma in settings file
2021-02-09 10:32:16 +00:00
Henry Oswald
40de999766
Update config/settings.defaults.js
...
parseint on dispatcher count
Co-authored-by: John Lees-Miller <jdleesmiller@gmail.com>
2021-02-04 09:30:35 +00:00
Henry Oswald
11c8cfc939
shard the pending-updates-list queue
2021-02-02 16:38:25 +00:00
Eric Mc Sween
9b561b1763
Merge pull request #155 from overleaf/em-dmp-timeout
...
Set the diff-match-patch timeout to 100ms
2021-01-18 08:06:24 -05:00
Eric Mc Sween
98f8d7f51c
Set the diff-match-patch timeout to 100ms
...
This might result in worse diffs, but we don't want to spend a second
blocking the event loop while we figure out nicer diffs when comparing
documents.
2021-01-14 15:11:15 -05:00
Christopher Hoskin
9af14ef513
Merge pull request #153 from overleaf/dependabot-npm_and_yarn-ini-1.3.8
...
Bump ini from 1.3.5 to 1.3.8
2021-01-06 10:25:17 +00:00
Christopher Hoskin
bc9eb8a1fb
Merge pull request #154 from overleaf/csh-issue-3895-node-10-23-1
...
Updates Node version from 10.22.1 to 10.23.1
2021-01-06 10:24:53 +00:00
Christopher Hoskin
9cbd8751a8
Update Node to 10.23.1
2021-01-06 09:57:08 +00:00
dependabot[bot]
ab6705481d
Bump ini from 1.3.5 to 1.3.8
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-13 07:35:06 +00:00
Eric Mc Sween
d7fde4643d
Merge pull request #152 from overleaf/em-diff-match-patch
...
Use a centralized diff-match-patch package rather than vendoring it
2020-12-09 08:39:31 -05:00
Eric Mc Sween
de247302b1
Use a centralized diff-match-patch package
...
We use our own fork of the diff-match-patch npm package, which adds an
optimization for the semantic alignment loop.
2020-12-07 16:15:19 -05:00
Eric Mc Sween
dce5b8759a
Decaf cleanup: capitalize class names
2020-12-07 15:30:02 -05:00
Eric Mc Sween
db4b0a6f38
Decaf cleanup: do not throw strings
2020-12-07 15:28:25 -05:00
Eric Mc Sween
8c70e72bfa
Decaf cleanup: unused variable
2020-12-07 15:27:41 -05:00
Eric Mc Sween
9f17f3ea0a
Decaf cleanup: remove default callback
2020-12-07 15:27:01 -05:00
Eric Mc Sween
b74e7f6feb
Decaf cleanup: unnecessary returns
2020-12-07 15:25:52 -05:00
Eric Mc Sween
a91770e979
Decaf cleanup: remove Array.from()
2020-12-07 15:25:20 -05:00
Eric Mc Sween
408db87d77
Merge pull request #150 from overleaf/em-docker-compose-healthchecks
...
Upgrade build-scripts to 3.4.0
2020-11-26 11:05:49 -05:00