Commit Graph

158 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
8305a7425a refactor: remove old arg 2025-08-01 12:26:38 -04:00
Barış Soner Uşaklı
b229488daf Merge branch 'master' into develop 2025-08-01 12:21:25 -04:00
Barış Soner Uşaklı
d5f57af342 fix: pass max-memory expose-gc as process args 2025-08-01 12:21:17 -04:00
Barış Soner Uşaklı
bba18e3102 feat: add expose-gc flag to loader 2025-07-30 09:37:36 -04:00
Barış Soner Uşaklı
035a37a936 increase log file size to 10mb 2024-12-24 10:21:35 -05:00
Barış Soner Uşaklı
d1ce594cc9 feat: allow setting max-old-space-size in config 2024-03-13 10:18:33 -04:00
Barış Soner Uşaklı
132476d581 feat: update mkdirp to 3.x, closes #11455 2023-04-10 17:56:41 -04:00
Julian Lam
830f142b7a fix: #11403, remove loader.js crash counter logic 2023-03-27 10:55:44 -04:00
Barış Soner Uşaklı
a76444662c refactor: remove console.log 2021-12-17 19:06:41 -05:00
Barış Soner Uşaklı
59214ca297 fix: #10086, if pidfile is empty delete 2021-12-17 19:06:01 -05:00
Barış Soner Uşaklı
4359e5c97c refactor: remove tabs after declaration 2021-11-16 16:24:17 -05:00
Barış Soner Uşaklı
6d38eab69a refactor: update dates 2021-11-15 18:27:22 -05:00
Barış Soner Uşaklı
057d1d58e3 refactor: no need for async/callbacks 2021-10-18 17:31:14 -04:00
Peter Jaszkowiak
115d19e289 chore: eslint prefer-rest-params, prefer-spread 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
23f212a4c0 chore: eslint prefer-destructuring 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
dab3b23575 chore: eslint no-var, vars-on-top 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
b56d9e12b5 chore: eslint prefer-arrow-callback 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
707b55b6a5 chore: eslint prefer-template 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
a3fa313298 Github actions lint demo (#8812)
* feat: use github actions for ci

- test using minimum supported db versions
- ESLint will make review comments on PRs
- formatted configs

* mess up eslint

* fix: lint maybe

Co-authored-by: Barış Soner Uşaklı <baris@nodebb.org>
2020-11-02 12:59:16 -05:00
Julian Lam
6b1d1acb48 fix(style): more switch..case 2020-06-03 11:46:57 -04:00
Barış Soner Uşaklı
d09bd2cfdf fix: #8302, send string to writeFileSync 2020-05-08 09:26:33 -04:00
oh
f3e8e06503 feat: Allow getting logfile path from config (#7044)
* feat(log): allow getting logfile path from config

fixes #5498

* feat(log): ensure logfile directory is created before running
2018-12-14 11:27:18 -05:00
Peter Jaszkowiak
9a32118418 Enable require.main.require in tests (#6896) 2018-10-31 09:58:37 -04:00
Barış Soner Uşaklı
a8e98e46df remove unused function 2018-10-14 20:01:57 -04:00
Barış Soner Uşaklı
687adea5dd closes #6836 2018-10-14 17:52:26 -04:00
Ben Lubar
44373afc52 Fix socket.io not working properly in single-host clusters. (#6669)
This is because we don't use the cluster module, so the master nodejs process doesn't know about any of the clients through the socket API.
2018-07-25 11:04:18 -04:00
Ben Lubar
c1e98eefa7 Allow single-host clusters to not send pubsub and socket.io messages through the database. (#6659)
* Allow single-host clusters to not send pubsub and socket.io messages through the database.

* Fix lint errors.
2018-07-23 12:21:36 -04:00
Barış Soner Uşaklı
41b4caa62d closes #6509 2018-05-15 11:05:28 -04:00
Peter Jaszkowiak
c93651b2d1 Fix alternate config file support (#6405) 2018-03-26 16:25:19 -04:00
Peter Jaszkowiak
e609e497b3 Provide more error information to logs
Provides full stack instead of just message
2017-11-01 18:59:48 -06:00
Barış Soner Uşaklı
2aaf6900d1 closes #5998 2017-10-25 10:48:12 -04:00
Davis
7f95bdfe6f In --no-daemon unlink of nonexisting pidfile
When running application using --no-deamon, when process is killed with signal SIGTERM, it exits with code 1, due to fact that pidfile does not exist
2017-09-14 06:48:34 -04:00
Barış Soner Uşaklı
82b5246b28 fix process.env.url if it was changed 2017-08-03 20:52:09 -04:00
Julian Lam
568b2b9957 fixes #5780 2017-07-20 15:43:11 -04:00
Julian Lam
d98b3e8056 automatically lowercasing env vars in nconf, fixes #2544 2017-06-22 11:10:23 -04:00
Peter Jaszkowiak
75d291183d Fix using nodebb in other CWDs 2017-04-12 15:22:58 -06:00
psychobunny
4a33f45b1e use writeFileSync for synchronous fs write operations - nodejs 7.x 2017-03-13 13:57:35 -04:00
Peter Jaszkowiak
4bb49a7171 ESlint no-unused-vars 2017-02-18 15:05:36 -07:00
Peter Jaszkowiak
c4bdb72941 ESlint no-unneeded-ternary
and no-extend-native, no-sequences
2017-02-18 12:59:46 -07:00
Peter Jaszkowiak
239d7f84dd ESlint no-path-concat 2017-02-18 12:47:58 -07:00
Peter Jaszkowiak
896c8c7343 ESlint object-curly-spacing 2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
1493afee2a ESlint indent 2017-02-18 02:38:03 -07:00
Peter Jaszkowiak
3b0dd2d1ef ESlint padded-blocks 2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
604358ecc4 ESlint keyword-spacing, no-multi-spaces 2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
a5a3f3089a ESlint no-mixed-operators 2017-02-18 01:51:11 -07:00
Peter Jaszkowiak
3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
2017-02-18 01:12:18 -07:00
Peter Jaszkowiak
2ba46808a1 ESlint one-var, fix comma-dangle 2017-02-17 20:20:42 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
barisusakli
c3f1129fe9 eslint 2017-01-26 14:22:52 +03:00
barisusakli
29b0552466 update url from config file even if it was passed in env 2017-01-26 14:16:19 +03:00