Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
manifold
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Chad Hanna
manifold
Commits
37e1d109
Commit
37e1d109
authored
1 year ago
by
Prathamesh Joshi
Browse files
Options
Downloads
Patches
Plain Diff
Setting num-messages to 100 and adding explanation
parent
97b0db46
Branches
snr-optimizer
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!31
Draft: Online snr optimizer
Pipeline
#577523
passed with warnings
1 year ago
Stage: pytest
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/manifold_cbc_bank_snr_optimizer_online
+6
-2
6 additions, 2 deletions
bin/manifold_cbc_bank_snr_optimizer_online
with
6 additions
and
2 deletions
bin/manifold_cbc_bank_snr_optimizer_online
+
6
−
2
View file @
37e1d109
...
...
@@ -123,8 +123,12 @@ class SNROptimizer(object):
self
.
last_event_time
=
0
# init options for kafka
# FIXME: is default num_messages = 10 ok?
self
.
num_messages
=
10
# With a theoretical maximum of 1 s-event per second, 5 g-events
# per s-event, an optimizer latency of 240s, and 10 optimizer jobs
# running in parallel, we get a maximum
# possible message build-up of 240*5/10 ~ 100 messages
# NOTE: change this if 10 optimizer jobs in parallel is changed
self
.
num_messages
=
100
self
.
kafka_settings
=
{
"
bootstrap.servers
"
:
kafka_server
,
...
...
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