Skip to content
Snippets Groups Projects
Commit 901309f0 authored by Rick Carback's avatar Rick Carback
Browse files

Move the set Rate limiting call to after network initialization

parent 36dd8aec
No related branches found
No related tags found
No related merge requests found
...@@ -158,8 +158,6 @@ func sessionInitialization() (*id.User, string, *api.Client) { ...@@ -158,8 +158,6 @@ func sessionInitialization() (*id.User, string, *api.Client) {
client.DisableBlockingTransmission() client.DisableBlockingTransmission()
} }
client.SetRateLimiting(rateLimiting)
// Handle parsing gateway addresses from the config file // Handle parsing gateway addresses from the config file
//REVIEWER NOTE: Possibly need to remove/rearrange this, //REVIEWER NOTE: Possibly need to remove/rearrange this,
...@@ -183,6 +181,8 @@ func sessionInitialization() (*id.User, string, *api.Client) { ...@@ -183,6 +181,8 @@ func sessionInitialization() (*id.User, string, *api.Client) {
globals.Log.FATAL.Panicf("Could not call connect on client: %+v", err) globals.Log.FATAL.Panicf("Could not call connect on client: %+v", err)
} }
client.SetRateLimiting(rateLimiting)
// Holds the User ID // Holds the User ID
var uid *id.User var uid *id.User
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment