Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Matrix
Commits
9e57ed2b
Commit
9e57ed2b
authored
10 years ago
by
manuroe
Browse files
Options
Downloads
Patches
Plain Diff
Added a param (--no-rate-limit) to demo/start.sh to disable the HS rate limit
parent
4ae0844e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
demo/clean.sh
+1
-0
1 addition, 0 deletions
demo/clean.sh
demo/start.sh
+10
-1
10 additions, 1 deletion
demo/start.sh
with
11 additions
and
1 deletion
demo/clean.sh
+
1
−
0
View file @
9e57ed2b
...
...
@@ -14,3 +14,4 @@ fi
find
"
$DIR
"
-name
"*.log"
-delete
find
"
$DIR
"
-name
"*.db"
-delete
rm
-rf
$DIR
/etc
This diff is collapsed.
Click to expand it.
demo/start.sh
+
10
−
1
View file @
9e57ed2b
...
...
@@ -8,6 +8,14 @@ cd "$DIR/.."
mkdir
-p
demo/etc
# Check the --no-rate-limit param
PARAMS
=
""
if
[
$#
-eq
1
]
;
then
if
[
$1
=
"--no-rate-limit"
]
;
then
PARAMS
=
"--rc-messages-per-second 1000 --rc-message-burst-count 1000"
fi
fi
for
port
in
8080 8081 8082
;
do
echo
"Starting server on port
$port
... "
...
...
@@ -23,7 +31,8 @@ for port in 8080 8081 8082; do
-d
"
$DIR
/
$port
.db"
\
-D
--pid-file
"
$DIR
/
$port
.pid"
\
--manhole
$((
port
+
1000
))
\
--tls-dh-params-path
"demo/demo.tls.dh"
--tls-dh-params-path
"demo/demo.tls.dh"
\
$PARAMS
python
-m
synapse.app.homeserver
\
--config-path
"demo/etc/
$port
.config"
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment