mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #13115 from overleaf/msm-remove-track-changes-sp
Remove track-changes references from CE GitOrigin-RevId: 07ec4aebaf982bf6607a9e55e51e42c9fac90624
This commit is contained in:
parent
76d0d82e74
commit
82d7264c32
7 changed files with 2 additions and 52 deletions
|
@ -68,7 +68,6 @@ each service:
|
|||
| `filestore` | 9235 |
|
||||
| `notifications` | 9236 |
|
||||
| `real-time` | 9237 |
|
||||
| `track-changes` | 9238 |
|
||||
|
||||
To attach to a service using Chrome's _remote debugging_, go to
|
||||
<chrome://inspect/> and make sure _Discover network targets_ is checked. Next
|
||||
|
|
|
@ -13,7 +13,6 @@ PROJECT_HISTORY_HOST=project-history
|
|||
REALTIME_HOST=real-time
|
||||
REDIS_HOST=redis
|
||||
SPELLING_HOST=spelling
|
||||
TRACK_CHANGES_HOST=track-changes
|
||||
WEBPACK_HOST=webpack
|
||||
WEB_API_PASSWORD=sharelatex
|
||||
WEB_API_USER=sharelatex
|
||||
|
|
|
@ -112,17 +112,6 @@ services:
|
|||
- ../services/real-time/app.js:/overleaf/services/real-time/app.js
|
||||
- ../services/real-time/config:/overleaf/services/real-time/config
|
||||
|
||||
track-changes:
|
||||
command: ["npm", "run", "nodemon"]
|
||||
environment:
|
||||
- NODE_APP_OPTIONS=--inspect=0.0.0.0:9229
|
||||
ports:
|
||||
- "127.0.0.1:9238:9229"
|
||||
volumes:
|
||||
- ../services/track-changes/app:/overleaf/services/track-changes/app
|
||||
- ../services/track-changes/app.js:/overleaf/services/track-changes/app.js
|
||||
- ../services/track-changes/config:/overleaf/services/track-changes/config
|
||||
|
||||
web:
|
||||
command: ["npm", "run", "nodemon"]
|
||||
environment:
|
||||
|
|
|
@ -132,13 +132,6 @@ services:
|
|||
volumes:
|
||||
- spelling-cache:/overleaf/services/spelling/cache
|
||||
|
||||
track-changes:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: services/track-changes/Dockerfile
|
||||
env_file:
|
||||
- dev.env
|
||||
|
||||
web:
|
||||
build:
|
||||
context: ..
|
||||
|
|
|
@ -118,20 +118,6 @@ const settings = {
|
|||
blockingKey({ doc_id }) {
|
||||
return `Blocking:${doc_id}`
|
||||
},
|
||||
// track-changes:lock
|
||||
historyLock({ doc_id }) {
|
||||
return `HistoryLock:${doc_id}`
|
||||
},
|
||||
historyIndexLock({ project_id }) {
|
||||
return `HistoryIndexLock:${project_id}`
|
||||
},
|
||||
// track-changes:history
|
||||
uncompressedHistoryOps({ doc_id }) {
|
||||
return `UncompressedHistoryOps:${doc_id}`
|
||||
},
|
||||
docsWithHistoryOps({ project_id }) {
|
||||
return `DocsWithHistoryOps:${project_id}`
|
||||
},
|
||||
// realtime
|
||||
clientsInProject({ project_id }) {
|
||||
return `clients_in_project:${project_id}`
|
||||
|
@ -142,7 +128,7 @@ const settings = {
|
|||
},
|
||||
}),
|
||||
fairy: redisConfig,
|
||||
// track-changes and document-updater
|
||||
// document-updater
|
||||
realtime: redisConfig,
|
||||
documentupdater: redisConfig,
|
||||
lock: redisConfig,
|
||||
|
@ -167,10 +153,6 @@ const settings = {
|
|||
},
|
||||
},
|
||||
|
||||
trackchanges: {
|
||||
continueOnError: true,
|
||||
},
|
||||
|
||||
// Local disk caching
|
||||
// ------------------
|
||||
path: {
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
NODE_PARAMS=""
|
||||
if [ "$DEBUG_NODE" == "true" ]; then
|
||||
echo "running debug - track-changes"
|
||||
NODE_PARAMS="--inspect=0.0.0.0:30150"
|
||||
fi
|
||||
|
||||
exec /sbin/setuser www-data /usr/bin/node $NODE_PARAMS /overleaf/services/track-changes/app.js >> /var/log/sharelatex/track-changes.log 2>&1
|
|
@ -14,9 +14,6 @@ module.exports = [
|
|||
{
|
||||
name: 'filestore'
|
||||
},
|
||||
{
|
||||
name: 'track-changes'
|
||||
},
|
||||
{
|
||||
name: 'docstore'
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue