-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LB Algorithms #108
LB Algorithms #108
Conversation
e6fadb1
to
8dc30c5
Compare
8dc30c5
to
b352191
Compare
// HealthCheckInterval - Health Check Frequency | ||
const HealthCheckInterval time.Duration = 30 * time.Second | ||
|
||
// TODO: make it customizable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todo
|
||
rc.GetLogger().Debugf("Async Store Response: %s", rc.Request.URL.String()) | ||
go doStoreResponse(rcDTO, rc.DomainConfig.Cache) | ||
rc.GetLogger().Debugf("Sync Store Response: %s", rc.Request.URL.String()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is the connection with client closed? if so, it's ok
@@ -29,7 +29,9 @@ import ( | |||
"github.com/fabiocicerchia/go-proxy-cache/utils" | |||
) | |||
|
|||
var r *dnscache.Resolver = &dnscache.Resolver{} | |||
var r *dnscache.Resolver = &dnscache.Resolver{ | |||
// TODO: Customize timeout |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todo
This pull request introduces 1 alert when merging 3a74484 into 4ab33a3 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging d61a1ae into 4ab33a3 - view on LGTM.com new alerts:
|
* new: LB Algorithms #15 * refactoring * refactoring + added docs * minor changes + fixing data races * fixing pipeline * added tests for different lb algo * code review * Update .github/workflows/main.yml
Closes #15