Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zenoh 1.0.0 Porting #276
base: rolling
Are you sure you want to change the base?
Zenoh 1.0.0 Porting #276
Changes from 64 commits
e2fabb6
6cd6dbe
dcefb68
14fe58c
301a8ce
8ef92b5
06b6fa4
71e7c5b
a717270
cfa63d9
12dc820
d331b74
1db4bef
d12f189
909329b
511c6f6
044d25b
d79cf5e
6637400
83334c8
bf0da8a
dfc95ad
cd071e5
4f842fd
af2e344
0225a59
36140fd
080eb15
f60c2a2
83a26f2
31a76fd
7dba674
b5cdd73
191181a
aed64e8
dd0e541
7dcc7d6
7bbfdf5
ed51a81
975ea82
17adcfa
e62c9bd
458414d
bf49775
1630e11
c0a7533
798b006
7d7a296
30aae80
4f369c5
39f10d5
c7c17a6
1eef11d
e57ce89
86940a8
3aba418
05ff443
dd1e691
5bf7cc0
206e34e
e9d0513
520a3a2
fce8a62
09c5cbc
54dd96a
becea93
9df5b82
1f135c2
5177594
6a48919
6fd7e1c
8d3fce9
73d68af
16916cb
f089982
63530b7
afd7f63
a67b194
c8724d2
979896a
d022967
1cfc9f6
bb64fde
4aef9e7
c386a3d
37134bb
93e733f
eeb9985
bec4a52
f32daa9
14d17b0
60a2e8d
589971e
9b65df5
c7d3a5b
6ba342b
143fa88
52070b2
5ae0e3a
257de16
736c34e
030959f
ec8aa99
ab5e0be
24f479b
e6b7ecb
bc6f6d6
8024b7a
3a5cc80
5c3d385
bb8e0ec
787376c
ec7776e
2cfa97c
28d917e
f400ab5
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you explain the rationale for increasing this delay?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is now the default value in Zenoh config. We aligned it with the current one.
In fact, this is the maximum delay, which means it doesn't always take 500 ms everytime.
zenoh::open()
can return quicker than this delay if some preconditions are met (configured peers are connected and scouted peers are connected when enabled).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move data members into
private
scope and provide accessor functions if needed?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this would introduce lots of complexity since we need to do some serializations in attachment_helpers.cpp which need to access the values. To make them private, we need to provide either public serialization functions or public get functions (including returning an array pointer of a known sized array
source_gid[RMW_GID_STORAGE_SIZE]
)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
include
<cstring>