mirror of
https://github.com/waku-org/nwaku.git
synced 2025-02-10 05:55:08 +00:00
fix: waku_filter_v2/common: PEER_DIAL_FAILURE ret code change: 200 -> 504 (#2236)
This commit is contained in:
parent
5883dbebe5
commit
6301bec05d
@ -13,11 +13,11 @@ const
|
|||||||
type
|
type
|
||||||
FilterSubscribeErrorKind* {.pure.} = enum
|
FilterSubscribeErrorKind* {.pure.} = enum
|
||||||
UNKNOWN = uint32(000)
|
UNKNOWN = uint32(000)
|
||||||
PEER_DIAL_FAILURE = uint32(200) # TODO shouldn't this be an error code, e.g. 504 Gateway Timeout?
|
|
||||||
BAD_RESPONSE = uint32(300)
|
BAD_RESPONSE = uint32(300)
|
||||||
BAD_REQUEST = uint32(400)
|
BAD_REQUEST = uint32(400)
|
||||||
NOT_FOUND = uint32(404)
|
NOT_FOUND = uint32(404)
|
||||||
SERVICE_UNAVAILABLE = uint32(503)
|
SERVICE_UNAVAILABLE = uint32(503)
|
||||||
|
PEER_DIAL_FAILURE = uint32(504)
|
||||||
|
|
||||||
FilterSubscribeError* = object
|
FilterSubscribeError* = object
|
||||||
case kind*: FilterSubscribeErrorKind
|
case kind*: FilterSubscribeErrorKind
|
||||||
|
Loading…
x
Reference in New Issue
Block a user