Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
sauyon committed Mar 2, 2023
1 parent ee61bf8 commit 9db629e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/bentoml/_internal/marshal/dispatcher.py
Expand Up @@ -371,11 +371,6 @@ async def controller(self):
continue

if n < self.max_batch_size:
wait = (
self.optimizer.wait * decay
if self.target_latency is None
else self.target_latency
)
if self.target_latency is None:
if n * (wn + dt + (a or 0)) <= self.optimizer.wait * decay:
await asyncio.sleep(self.tick_interval)
Expand Down

0 comments on commit 9db629e

Please sign in to comment.