File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ internal static async Task Restart() {
9292
9393 internal static async Task LimitSteamRequestsAsync ( ) {
9494 await SteamSemaphore . WaitAsync ( ) . ConfigureAwait ( false ) ;
95- await Utilities . SleepAsync ( Utilities . GetRandomDelay ( ) * 1000 ) . ConfigureAwait ( false ) ; // We must add some delay to not get caught by Steam anty-DoS
95+ await Utilities . SleepAsync ( 5 * 1000 ) . ConfigureAwait ( false ) ; // We must add some delay to not get caught by Steam anty-DoS
9696 SteamSemaphore . Release ( ) ;
9797 }
9898
Original file line number Diff line number Diff line change @@ -41,10 +41,6 @@ internal static async Task SleepAsync(int miliseconds) {
4141 await Task . Delay ( miliseconds ) . ConfigureAwait ( false ) ;
4242 }
4343
44- internal static int GetRandomDelay ( ) {
45- return Random . Next ( 5 , 16 ) ;
46- }
47-
4844 internal static ulong OnlyNumbers ( string inputString ) {
4945 if ( string . IsNullOrEmpty ( inputString ) ) {
5046 return 0 ;
You can’t perform that action at this time.
0 commit comments