Skip to content

Commit

Permalink
Fix proto package name
Browse files Browse the repository at this point in the history
It's part of the general Latte kotlin utils, not Vanilla specifically.
  • Loading branch information
wasdennnoch committed Dec 13, 2024
1 parent cf8763c commit 14f9a69
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions proto/ratelimit.proto
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
syntax = "proto3";
package beemo.ratelimit;

option java_multiple_files = true;
option java_package = "gg.beemo.vanilla.proto";
option java_package = "gg.beemo.latte.proto";
option java_outer_classname = "RatelimitProto";

package ratelimit;

service Ratelimit {
rpc ReserveQuota (RatelimitRequest) returns (RatelimitQuota) {}
Expand Down
12 changes: 6 additions & 6 deletions vanilla/src/main/java/gg/beemo/vanilla/GrpcRatelimitService.kt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package gg.beemo.vanilla

import gg.beemo.latte.logging.Log
import gg.beemo.vanilla.proto.RatelimitGrpcKt
import gg.beemo.vanilla.proto.RatelimitQuota
import gg.beemo.vanilla.proto.ratelimitQuota
import gg.beemo.vanilla.proto.RatelimitRequest
import gg.beemo.vanilla.proto.RatelimitType
import gg.beemo.latte.proto.RatelimitGrpcKt
import gg.beemo.latte.proto.RatelimitQuota
import gg.beemo.latte.proto.ratelimitQuota
import gg.beemo.latte.proto.RatelimitRequest
import gg.beemo.latte.proto.RatelimitType
import kotlinx.coroutines.sync.Mutex
import kotlinx.coroutines.sync.withLock
import java.util.*
import java.util.LinkedList
import java.util.concurrent.ConcurrentHashMap
import kotlin.time.Duration
import kotlin.time.Duration.Companion.seconds
Expand Down

0 comments on commit 14f9a69

Please sign in to comment.