Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Joakim Saario
aurweb
Commits
92e31546
Commit
92e31546
authored
Sep 04, 2020
by
Jakub Klinkovský
Committed by
Lukas Fleischer
Feb 20, 2021
Browse files
gendummydata.py: remove unused database connection variables
Signed-off-by:
Lukas Fleischer
<
lfleischer@archlinux.org
>
parent
db75a552
Changes
1
Hide whitespace changes
Inline
Side-by-side
schema/gendummydata.py
View file @
92e31546
...
...
@@ -18,10 +18,6 @@ import time
LOG_LEVEL
=
logging
.
DEBUG
# logging level. set to logging.INFO to reduce output
SEED_FILE
=
"/usr/share/dict/words"
DB_HOST
=
os
.
getenv
(
"DB_HOST"
,
"localhost"
)
DB_NAME
=
os
.
getenv
(
"DB_NAME"
,
"AUR"
)
DB_USER
=
os
.
getenv
(
"DB_USER"
,
"aur"
)
DB_PASS
=
os
.
getenv
(
"DB_PASS"
,
"aur"
)
USER_ID
=
5
# Users.ID of first bogus user
PKG_ID
=
1
# Packages.ID of first package
MAX_USERS
=
300
# how many users to 'register'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment