Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
ma_code
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sven-Ove Hänsel
ma_code
Commits
933dcacb
Commit
933dcacb
authored
8 months ago
by
julian
Browse files
Options
Downloads
Patches
Plain Diff
fixed experiment duration and removed unsused env vars
parent
439b9dda
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.env
+2
-9
2 additions, 9 deletions
.env
query/cdm_sql_queries.py
+1
-1
1 addition, 1 deletion
query/cdm_sql_queries.py
with
3 additions
and
10 deletions
.env
+
2
−
9
View file @
933dcacb
...
...
@@ -3,18 +3,11 @@ PGUSER=postgres
PGDATABASE=postgres
PGHOST=postgres
# sub
# pg_inserter
BATCH_SIZE=10000
EDGE_INSERTS=EDGE_INSERTS
UUID_EDGES=
# pub-sub
MOS_HOST=mosquitto
MOS_TOPIC=ta1-cadets-e3-official
# pub
LINES_PER_SECOND=10000
BATCH_SIZE=10000
# query
QUERY_INTERVAL=1
...
...
This diff is collapsed.
Click to expand it.
query/cdm_sql_queries.py
+
1
−
1
View file @
933dcacb
...
...
@@ -55,7 +55,7 @@ if __name__ == "__main__":
csv
.
writer
(
file
).
writerow
((
"
TIMESTAMP
"
,
"
VERTEX_COUNT
"
))
info
(
"
Starting...
"
)
end_time
=
timedelta
(
seconds
=
20
)
end_time
=
timedelta
(
hours
=
1
)
schedule
.
every
(
5
).
seconds
.
until
(
end_time
).
do
(
perf_job
,
csv_path
)
while
(
sleep_time
:
=
schedule
.
idle_seconds
())
is
not
None
and
not
interrupted
:
sleep
(
max
(
sleep_time
,
0
))
...
...
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