Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
f5538642
Commit
f5538642
authored
Jun 28, 2018
by
zhaozhao.zz
Browse files
clients: show pubsub flag in client list
parent
ab55f9da
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/networking.c
View file @
f5538642
...
@@ -1506,6 +1506,7 @@ sds catClientInfoString(sds s, client *client) {
...
@@ -1506,6 +1506,7 @@ sds catClientInfoString(sds s, client *client) {
*
p
++
=
'S'
;
*
p
++
=
'S'
;
}
}
if
(
client
->
flags
&
CLIENT_MASTER
)
*
p
++
=
'M'
;
if
(
client
->
flags
&
CLIENT_MASTER
)
*
p
++
=
'M'
;
if
(
client
->
flags
&
CLIENT_PUBSUB
)
*
p
++
=
'P'
;
if
(
client
->
flags
&
CLIENT_MULTI
)
*
p
++
=
'x'
;
if
(
client
->
flags
&
CLIENT_MULTI
)
*
p
++
=
'x'
;
if
(
client
->
flags
&
CLIENT_BLOCKED
)
*
p
++
=
'b'
;
if
(
client
->
flags
&
CLIENT_BLOCKED
)
*
p
++
=
'b'
;
if
(
client
->
flags
&
CLIENT_DIRTY_CAS
)
*
p
++
=
'd'
;
if
(
client
->
flags
&
CLIENT_DIRTY_CAS
)
*
p
++
=
'd'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment