Henry Oswald
|
d4d3048719
|
remove tcp code, moved to agent load balancer
|
2017-02-23 11:09:18 +00:00 |
|
Henry Oswald
|
bc1b8f4b2f
|
Update app.coffee
|
2017-02-20 15:19:04 +00:00 |
|
Henry Oswald
|
599977c3e0
|
if host has 1 cpu (staging) then set availableWorkingCpus to 1
|
2017-02-20 15:16:52 +00:00 |
|
Brian Gough
|
69666bef60
|
add support for stopping compile
|
2016-07-14 16:43:52 +01:00 |
|
Brian Gough
|
0b8435e358
|
add route to serve files from top level of per user containers
|
2016-06-15 16:12:19 +01:00 |
|
Brian Gough
|
0887fe3a72
|
add per-user routes for clearing cache and extend expiry methods
this adds separate functionality for clearing the cache (assets and
database) and the project compile directory for a specific user
|
2016-06-02 15:32:33 +01:00 |
|
Brian Gough
|
226e6c87b1
|
add per-user routes and methods
|
2016-06-02 15:32:31 +01:00 |
|
Brian Gough
|
0da85d5d03
|
be ready to serve files from per-user containers
|
2016-05-20 10:23:07 +01:00 |
|
Brian Gough
|
f8ae215c1e
|
avoid clobbering the existing port variable
|
2016-05-19 16:38:18 +01:00 |
|
Brian Gough
|
f92c70935b
|
allow direct path to output file /project/project_id/build/build_id/output/*
this avoids use of the query string ?build=... and so we can match the
url directly with the nginx location directive
|
2016-05-13 10:10:48 +01:00 |
|
Henry Oswald
|
5f7cd5ece5
|
added project status endpoint
used for getting the server a project is on
|
2016-04-20 15:38:05 +01:00 |
|
Henry Oswald
|
3c021fd4c9
|
ignore ECONNRESET
|
2016-04-12 13:32:58 +01:00 |
|
Henry Oswald
|
f453f954e4
|
use socket.end for tcp checks
|
2016-04-12 10:49:45 +01:00 |
|
Henry Oswald
|
cd499fa4e5
|
server load endpoint uses settings for port
|
2016-04-11 13:47:06 +01:00 |
|
Henry Oswald
|
7799e0bfdd
|
return 0 for server which is being hammered
socket.destroy when finished
|
2016-04-08 15:40:02 +01:00 |
|
Henry Oswald
|
6ca8c10734
|
added err handler to socket
|
2016-04-08 15:25:00 +01:00 |
|
Henry Oswald
|
84cba7365f
|
work of 1 min load and set server as up
|
2016-04-08 15:18:22 +01:00 |
|
Henry Oswald
|
11be12fc8e
|
evaluate on every call
|
2016-04-08 14:14:05 +01:00 |
|
Henry Oswald
|
3e70c0f8e4
|
added example server load tcp server
|
2016-04-08 13:31:23 +01:00 |
|
Brian Gough
|
665dbff75a
|
parameter check on project_id
|
2016-03-31 12:12:25 +01:00 |
|
Brian Gough
|
8fcbec5c0f
|
add support for sentry
|
2016-03-30 14:35:47 +01:00 |
|
Shane Kilkelly
|
29be2dc700
|
When serving output files, intelligently determine the appropriate content-type.
cherry pick 6fa3fda3ed28239cf3ac9720629f9707663aa197 from datajoy.
|
2015-09-21 16:59:35 +01:00 |
|
Henrique Dias
|
ba475db052
|
Merge remote-tracking branch 'upstream/master' into texcount
|
2015-09-08 09:13:04 -03:00 |
|
Brian Gough
|
c2054a5ec3
|
add memory logger from metrics-sharelatex
|
2015-08-14 14:47:42 +01:00 |
|
Henrique Dias
|
25d73ab6f9
|
initial version of texcount
|
2015-06-08 18:35:24 -03:00 |
|
Brian Gough
|
03c105c3d9
|
replace deprecated send(code,body) calls
|
2015-05-15 16:27:39 +01:00 |
|
Henry Oswald
|
d9d16b7189
|
make startup message consistent
|
2015-04-30 15:07:48 +01:00 |
|
Brian Gough
|
143f948193
|
add heapdump support for memory profiling
|
2015-04-09 14:40:02 +01:00 |
|
Brian Gough
|
65f2f23cf6
|
add v8 profiler on /profile?time=MS url
|
2015-03-16 15:02:45 +00:00 |
|
Brian Gough
|
37cc9f3715
|
provide a static server which forbids symlinks
prevents mismatch between rootdir of server and rootdir of symlink
checking middleware
|
2015-02-27 13:57:57 +00:00 |
|
Brian Gough
|
0692e964ef
|
use OutputCacheManager to construct static path to files
|
2015-02-27 13:16:01 +00:00 |
|
Brian Gough
|
151ea99639
|
accept build id parameter when serving static files
|
2015-02-25 17:05:19 +00:00 |
|
Henry Oswald
|
92338ab419
|
replaced old symlink logic with tested middlewear based on fs.realpath
|
2014-12-04 23:54:22 +00:00 |
|
James Allen
|
5b2031b84f
|
Check file is not a symlink before returning it
|
2014-12-04 22:07:37 +00:00 |
|
Brian Gough
|
6bf8c22d78
|
send a strong etag for the output.pdf file, needed for byte ranges in pdf.js
|
2014-12-02 14:30:24 +00:00 |
|
Henry Oswald
|
b4f0da0c42
|
err != error
|
2014-11-27 16:19:01 +00:00 |
|
Henry Oswald
|
4886620d8a
|
Merge branch 'master' of https://github.com/sharelatex/clsi-sharelatex
|
2014-11-27 16:11:11 +00:00 |
|
Henry Oswald
|
fc674370bd
|
respect the status code on the error if it exists
|
2014-11-27 16:11:00 +00:00 |
|
James Allen
|
7f9c9176a9
|
Force mimetype of output files to be safe
|
2014-10-28 12:07:26 +00:00 |
|
Henry Oswald
|
22e8ee59af
|
Merge branch 'master' of https://github.com/sharelatex/clsi-sharelatex
|
2014-10-17 10:22:27 +01:00 |
|
Henry Oswald
|
225a12fcd2
|
up timeout to 6 mins
|
2014-10-17 10:14:23 +01:00 |
|
James Allen
|
4635052393
|
Don't run smoke test by default
|
2014-08-19 12:11:56 +01:00 |
|
Henry Oswald
|
d67f18c1c4
|
add null checks and defaults for the cached smoke test results
|
2014-06-05 16:13:06 +01:00 |
|
Henry Oswald
|
6f5d068eb0
|
added caching of health checks so we can hit them heaviy from multiple places without potential concurency problems
|
2014-06-05 15:51:24 +01:00 |
|
James Allen
|
a5d6a98ff0
|
Increase req and res stream timeouts to 3 minutes
|
2014-05-22 12:18:56 +01:00 |
|
James Allen
|
e4f7437484
|
Increase size limit (arbitrarily... *shrug*)
|
2014-05-19 20:03:05 +01:00 |
|
James Allen
|
2ea64cddc7
|
Return more informative errors
|
2014-05-19 07:18:57 -04:00 |
|
James Allen
|
20219e0f2f
|
Add in new metrics
|
2014-05-09 14:55:37 +01:00 |
|
James Allen
|
9fc0ef2885
|
Add in a synctex end point
|
2014-04-08 15:18:56 +01:00 |
|
James Allen
|
c83b03e93f
|
Initial open source commit
|
2014-02-12 17:27:43 +00:00 |
|