Skip to content

Commit

Permalink
flyby fix lint suggesting const (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
clintpurser authored Sep 30, 2024
1 parent b91e90e commit 17b2720
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/src/rpc/dial.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class DialOptions {
bool _usingMdns = false;

/// Timeout is the timeout for dial.
Duration timeout = Duration(seconds: 10);
Duration timeout = const Duration(seconds: 10);

/// If specified, a custom log output for dial logs.
LogOutput? logOutput;
Expand Down Expand Up @@ -328,8 +328,8 @@ Future<ClientChannelBase> _dialWebRtc(String address, DialOptions options, Strin

int updateCalls = 0; // how many times we've sent an update to the sig. server
int updateCallsFinished = 0; // how many update calls have finished
Duration totalCallUpdateDuration = Duration();
Duration maxCallUpdateDuration = Duration();
Duration totalCallUpdateDuration = const Duration();
Duration maxCallUpdateDuration = const Duration();
bool iceConnectionCompleted = false;

peerConnection.onIceConnectionState = (RTCIceConnectionState state) async {
Expand Down

0 comments on commit 17b2720

Please sign in to comment.