Skip to content

Commit

Permalink
rework again to have a single parser and move around all the logic
Browse files Browse the repository at this point in the history
This way we only have a single entity watching the file and dispatching out to
the resolvers when things change rather than a bunch of tickers watching the
file. Also cleaned up the code a bunch.
  • Loading branch information
demmer committed Mar 29, 2024
1 parent 7193ac9 commit 01325a8
Show file tree
Hide file tree
Showing 3 changed files with 232 additions and 166 deletions.
4 changes: 0 additions & 4 deletions go/cmd/vtgateproxy/vtgateproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ limitations under the License.
package main

import (
"math/rand"
"time"

"vitess.io/vitess/go/exit"
"vitess.io/vitess/go/vt/servenv"
"vitess.io/vitess/go/vt/vtgateproxy"
Expand All @@ -28,7 +25,6 @@ import (
var ()

func init() {
rand.Seed(time.Now().UnixNano())
servenv.RegisterDefaultFlags()
}

Expand Down
Loading

0 comments on commit 01325a8

Please sign in to comment.