limit max connections to 50

This commit is contained in:
ading2210 2024-02-26 22:52:06 -05:00
parent 582bbd4ecd
commit d79c07e2a4
5 changed files with 6 additions and 8 deletions

View file

@ -16,12 +16,8 @@ You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
if (typeof window === "undefined") {
throw new Error("NodeJS is not supported. This only works inside the browser.");
}
//everything is wrapped in a function to prevent emscripten from polluting the global scope
window.libcurl = (function() {
const libcurl = (function() {
//emscripten compiled code is inserted here
/* __emscripten_output__ */