Skip to content

refactoring as part of assignment #133

Open
cbhakar wants to merge 4 commits intoNexClipper:masterfrom
cbhakar:master
Open

refactoring as part of assignment #133
cbhakar wants to merge 4 commits intoNexClipper:masterfrom
cbhakar:master

Conversation

@cbhakar
Copy link

@cbhakar cbhakar commented Oct 9, 2021

No description provided.

@@ -50,9 +50,7 @@ func (agent *KlevrAgent) handShake() *common.Primary {
agent.schedulerInterval = body.Me.CallCycle

if len(body.Agent.Nodes) > 0 {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for loop not needed as i can be done directly

@@ -103,9 +103,8 @@ func (agent *KlevrAgent) getRemoteUpdatedTasks() []common.KlevrTask {

logger.Debugf("tasks: %v", tasks)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for loop not needed as i can be done directly

@jaehoonkim
Copy link

In situations where alive is true, it seems like you need to constantly check buf channel.
Modifications to queue.go seem to have to be reflected for the latest version.

@cbhakar
Copy link
Author

cbhakar commented Oct 24, 2021

In situations where alive is true, it seems like you need to constantly check buf channel. Modifications to queue.go seem to have to be reflected for the latest version.

certainly, you're correct, this is an accidental change in queue.go maybe i was just exploring and commited, I'm sorry.

@cbhakar cbhakar closed this Oct 24, 2021
@cbhakar
Copy link
Author

cbhakar commented Oct 24, 2021

i"m sorry i accidently closed the pull request as well. please ignore

@cbhakar cbhakar reopened this Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants