mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
FIX: ruby bench not working properly
- Remove thin which is no longer supported - Bypass admin api rate limiting in profile environment - Admin password was too short - Run by default in concurrency 1 mode - A skip bundle assets flag to speed up local testing
This commit is contained in:
parent
107eb5d830
commit
a3c7ee09b6
3 changed files with 72 additions and 21 deletions
|
@ -45,7 +45,7 @@ def create_admin(seq)
|
|||
User.new.tap { |admin|
|
||||
admin.email = "admin@localhost#{seq}.fake"
|
||||
admin.username = "admin#{seq}"
|
||||
admin.password = "password"
|
||||
admin.password = "password12345abc"
|
||||
admin.save!
|
||||
admin.grant_admin!
|
||||
admin.change_trust_level!(TrustLevel[4])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue