Bug 273910 - www/onlyoffice-documentserver: increase default connection limit
Summary: www/onlyoffice-documentserver: increase default connection limit
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mikael Urankar
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-17 22:32 UTC by yzrh
Modified: 2023-10-01 17:26 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (mikael)


Attachments
Patch to increase connection limit and hide mobile editor warning (3.30 KB, patch)
2023-09-17 22:32 UTC, yzrh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description yzrh 2023-09-17 22:32:51 UTC
Created attachment 244983 [details]
Patch to increase connection limit and hide mobile editor warning

Thanks for maintaining onlyoffice.

By default, a connection limit of 20 is imposed.  The limit is easily reached.
Additionally, when using a mobile browser, a warning is shown.
The patch changes the connection limit to 2000 and disables the warning
shown to mobile browser (It will also allow text only editing as a side effect).
Upstream does not object such modifications, for it is an AGPL licensed programme.
Comment 1 Mikael Urankar freebsd_committer freebsd_triage 2023-09-23 16:32:32 UTC
(In reply to yzrh from comment #0)
Thanks for the patch, I'll integrate it with the next onlyoffice upgrade.
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-10-01 17:20:15 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=21df741b75344d6d8ef9f491264f5bbdacb1ad88

commit 21df741b75344d6d8ef9f491264f5bbdacb1ad88
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-10-01 17:13:32 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-10-01 17:17:53 +0000

    www/onlyoffice-documentserver: Update to 7.4.1.36

    While here:
      - Increase default connection limit [1]
      - Add missing command for postgresql 15 users [2]

    Changes:
      https://github.com/ONLYOFFICE/DocumentServer/blob/v7.4.1/CHANGELOG.md

    PR:             273910 [1]
    Reported by:    Benjamin Connelly [2]

 www/onlyoffice-documentserver/Makefile             |   7 +-
 www/onlyoffice-documentserver/distinfo             |  50 ++++----
 .../files/patch-core_DesktopEditor_common_Path.cpp |   4 +-
 ...-core_DesktopEditor_xmlsec_libxmlsec.pro (gone) |  19 ---
 .../files/patch-increase_max_connections (new)     |  42 +++++++
 www/onlyoffice-documentserver/files/pkg-message.in |   1 +
 www/onlyoffice-documentserver/pkg-plist            | 131 +++++++++++++++++++--
 7 files changed, 195 insertions(+), 59 deletions(-)