Skip to content

Commit

Permalink
Use the default def
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin committed Jul 7, 2024
1 parent 5576e7a commit 27758ef
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 4 additions & 1 deletion net-mqtt.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ library
, conduit-extra >=1.3.0 && <1.5
, containers >=0.5.0 && <0.7
, crypton-connection >=0.3.0
, data-default-class
, data-default-class >=0.1.2
, deepseq >=1.4.3.0 && <1.5
, monad-loops >=0.4.3
, network-conduit-tls ==1.4.*
Expand Down Expand Up @@ -79,6 +79,7 @@ executable mqtt-example
, conduit-extra >=1.3.0 && <1.5
, containers >=0.5.0 && <0.7
, crypton-connection >=0.3.0
, data-default-class >=0.1.2
, deepseq >=1.4.3.0 && <1.5
, monad-loops >=0.4.3
, net-mqtt
Expand Down Expand Up @@ -109,6 +110,7 @@ executable mqtt-watch
, conduit-extra >=1.3.0 && <1.5
, containers >=0.5.0 && <0.7
, crypton-connection >=0.3.0
, data-default-class >=0.1.2
, deepseq >=1.4.3.0 && <1.5
, monad-loops >=0.4.3
, net-mqtt
Expand Down Expand Up @@ -148,6 +150,7 @@ test-suite mqtt-test
, conduit-extra >=1.3.0 && <1.5
, containers >=0.5.0 && <0.7
, crypton-connection >=0.3.0
, data-default-class >=0.1.2
, deepseq >=1.4.3.0 && <1.5
, lens
, monad-loops >=0.4.3
Expand Down
1 change: 1 addition & 0 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ dependencies:
- crypton-connection >= 0.3.0
- monad-loops >= 0.4.3
- time >= 1.9
- data-default-class >= 0.1.2

library:
source-dirs: src
Expand Down
5 changes: 1 addition & 4 deletions src/Network/MQTT/Client.hs
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,7 @@ mqttConfig = MQTTConfig{_hostname="", _port=1883, _connID="",
_msgCB=NoCallback,
_protocol=Protocol311, _connProps=mempty,
_connectTimeout=180000000,
_tlsSettings=def
{settingDisableCertificateValidation=False,
settingDisableSession=False,
settingUseServerName=False},
_tlsSettings=def,
_pingPeriod=30000000,
_pingPatience=90000000}

Expand Down

0 comments on commit 27758ef

Please sign in to comment.