Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Web Monitor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
elixxir
sysadmin
Web Monitor
Commits
17df19dc
Commit
17df19dc
authored
Feb 4, 2022
by
Sydney Anne Erickson
Browse files
Options
Downloads
Patches
Plain Diff
add comment
parent
159e982d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main.rs
+1
-0
1 addition, 0 deletions
src/main.rs
with
1 addition
and
0 deletions
src/main.rs
+
1
−
0
View file @
17df19dc
...
@@ -106,6 +106,7 @@ fn main() {
...
@@ -106,6 +106,7 @@ fn main() {
thread
::
sleep
(
one_sec
);
thread
::
sleep
(
one_sec
);
// Check through all the jobs in the queue
// Check through all the jobs in the queue
// TODO: run jobs in a thread so we can reliably tick every second
println!
(
"Running jobs for tick"
);
println!
(
"Running jobs for tick"
);
for
job
in
jobs
.iter_mut
()
{
for
job
in
jobs
.iter_mut
()
{
// Check if its time for the job to run
// Check if its time for the job to run
...
...
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