Neil Alexander
4ad5f9c982
Global database connection pool (for monolith mode) ( #2411 )
...
* Allow monolith components to share a single database pool
* Don't yell about missing connection strings
* Rename field
* Setup tweaks
* Fix panic
* Improve configuration checks
* Update config
* Fix lint errors
* Update comments
2022-05-03 16:35:06 +01:00
Till
979a551f1e
Return null
if MaxFileSizeBytes is 0 ( #2409 )
...
* Return "null" if MaxFileSizeBytes is 0
* Add comment and nil check (better save than sorry)
* Simplify config
2022-05-02 10:47:16 +02:00
Neil Alexander
c9419e51af
Don't populate config defaults where it doesn't make sense ( #2058 )
...
* Don't populate config defaults where it doesn't make sense
* Fix dendritejs builds
2021-11-24 11:57:39 +00:00
S7evinK
5094bc89bf
Set MaxFileSizeBytes <= 0 to unlimited ( #1876 )
...
* Revert "Set MaxFileSizeBytes <= 0 to "unlimited" (#1875 )"
This reverts commit 9ed0440421
.
* Actually allow unlimited upload
Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
Co-authored-by: kegsay <kegan@matrix.org>
2021-07-19 17:58:51 +01:00
S7evinK
9ed0440421
Set MaxFileSizeBytes <= 0 to "unlimited" ( #1875 )
...
* Set MaxFileSizeBytes < 0 to "unlimited"
Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
* int64 overflows later in mediaapi/routing/upload.go[doUpload]
* Prevent int overflow when uploading
2021-06-14 14:12:03 +01:00
Neil Alexander
c3ad2cca49
Fix database default connection limits for CI ( #1794 )
2021-03-08 13:18:29 +00:00
Neil Alexander
b5aa7ca3ab
Top-level setup package ( #1605 )
...
* Move config, setup, mscs into "setup" top-level folder
* oops, forgot the EDU server
* Add setup
* goimports
2020-12-02 17:41:00 +00:00