virjson: Make pretty format more compact

json_reformat uses two spaces for when indenting nested objects, let's
do the same. The result of virJSONValueToString will be exactly the same
as json_reformat would produce.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
Jiri Denemark 2016-04-27 16:49:25 +02:00
parent 666d780531
commit 7197e5fd3f
9 changed files with 706 additions and 706 deletions

View File

@ -1756,7 +1756,7 @@ virJSONValueToString(virJSONValuePtr object,
char *ret = NULL; char *ret = NULL;
yajl_size_t len; yajl_size_t len;
# ifndef WITH_YAJL2 # ifndef WITH_YAJL2
yajl_gen_config conf = { pretty ? 1 : 0, pretty ? " " : " "}; yajl_gen_config conf = { pretty ? 1 : 0, pretty ? " " : " "};
# endif # endif
VIR_DEBUG("object=%p", object); VIR_DEBUG("object=%p", object);
@ -1765,7 +1765,7 @@ virJSONValueToString(virJSONValuePtr object,
g = yajl_gen_alloc(NULL); g = yajl_gen_alloc(NULL);
if (g) { if (g) {
yajl_gen_config(g, yajl_gen_beautify, pretty ? 1 : 0); yajl_gen_config(g, yajl_gen_beautify, pretty ? 1 : 0);
yajl_gen_config(g, yajl_gen_indent_string, pretty ? " " : " "); yajl_gen_config(g, yajl_gen_indent_string, pretty ? " " : " ");
yajl_gen_config(g, yajl_gen_validate_utf8, 1); yajl_gen_config(g, yajl_gen_validate_utf8, 1);
} }
# else # else

View File

@ -1,132 +1,132 @@
{ {
"servers": { "servers": {
"testServer0": { "testServer0": {
"min_workers": 10, "min_workers": 10,
"max_workers": 50, "max_workers": 50,
"priority_workers": 5, "priority_workers": 5,
"max_clients": 100, "max_clients": 100,
"max_anonymous_clients": 100, "max_anonymous_clients": 100,
"keepaliveInterval": 120, "keepaliveInterval": 120,
"keepaliveCount": 5, "keepaliveCount": 5,
"next_client_id": 3, "next_client_id": 3,
"services": [ "services": [
{ {
"auth": 0, "auth": 0,
"readonly": true, "readonly": true,
"nrequests_client_max": 2, "nrequests_client_max": 2,
"socks": [ "socks": [
{ {
"fd": 100, "fd": 100,
"errfd": -1, "errfd": -1,
"pid": 0, "pid": 0,
"isClient": false "isClient": false
} }
] ]
},
{
"auth": 2,
"readonly": false,
"nrequests_client_max": 5,
"socks": [
{
"fd": 101,
"errfd": -1,
"pid": 0,
"isClient": false
}
]
}
],
"clients": [
{
"id": 1,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 2,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
}, },
"testServer1": { {
"min_workers": 2, "auth": 2,
"max_workers": 50, "readonly": false,
"priority_workers": 5, "nrequests_client_max": 5,
"max_clients": 100, "socks": [
"max_anonymous_clients": 100, {
"keepaliveInterval": 120, "fd": 101,
"keepaliveCount": 5, "errfd": -1,
"next_client_id": 3, "pid": 0,
"services": [ "isClient": false
{ }
"auth": 0, ]
"readonly": true,
"nrequests_client_max": 2,
"socks": [
{
"fd": 100,
"errfd": -1,
"pid": 0,
"isClient": false
}
]
},
{
"auth": 2,
"readonly": false,
"nrequests_client_max": 5,
"socks": [
{
"fd": 101,
"errfd": -1,
"pid": 0,
"isClient": false
}
]
}
],
"clients": [
{
"id": 1,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 2,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
} }
],
"clients": [
{
"id": 1,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 2,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
},
"testServer1": {
"min_workers": 2,
"max_workers": 50,
"priority_workers": 5,
"max_clients": 100,
"max_anonymous_clients": 100,
"keepaliveInterval": 120,
"keepaliveCount": 5,
"next_client_id": 3,
"services": [
{
"auth": 0,
"readonly": true,
"nrequests_client_max": 2,
"socks": [
{
"fd": 100,
"errfd": -1,
"pid": 0,
"isClient": false
}
]
},
{
"auth": 2,
"readonly": false,
"nrequests_client_max": 5,
"socks": [
{
"fd": 101,
"errfd": -1,
"pid": 0,
"isClient": false
}
]
}
],
"clients": [
{
"id": 1,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 2,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
} }
}
} }

View File

@ -1,132 +1,132 @@
{ {
"servers": { "servers": {
"testServer0": { "testServer0": {
"min_workers": 10, "min_workers": 10,
"max_workers": 50, "max_workers": 50,
"priority_workers": 5, "priority_workers": 5,
"max_clients": 100, "max_clients": 100,
"max_anonymous_clients": 100, "max_anonymous_clients": 100,
"keepaliveInterval": 120, "keepaliveInterval": 120,
"keepaliveCount": 5, "keepaliveCount": 5,
"next_client_id": 3, "next_client_id": 3,
"services": [ "services": [
{ {
"auth": 0, "auth": 0,
"readonly": true, "readonly": true,
"nrequests_client_max": 2, "nrequests_client_max": 2,
"socks": [ "socks": [
{ {
"fd": 100, "fd": 100,
"errfd": -1, "errfd": -1,
"pid": 0, "pid": 0,
"isClient": false "isClient": false
} }
] ]
},
{
"auth": 2,
"readonly": false,
"nrequests_client_max": 5,
"socks": [
{
"fd": 101,
"errfd": -1,
"pid": 0,
"isClient": false
}
]
}
],
"clients": [
{
"id": 1,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 2,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
}, },
"testServer1": { {
"min_workers": 2, "auth": 2,
"max_workers": 50, "readonly": false,
"priority_workers": 5, "nrequests_client_max": 5,
"max_clients": 100, "socks": [
"max_anonymous_clients": 100, {
"keepaliveInterval": 120, "fd": 101,
"keepaliveCount": 5, "errfd": -1,
"next_client_id": 3, "pid": 0,
"services": [ "isClient": false
{ }
"auth": 0, ]
"readonly": true,
"nrequests_client_max": 2,
"socks": [
{
"fd": 100,
"errfd": -1,
"pid": 0,
"isClient": false
}
]
},
{
"auth": 2,
"readonly": false,
"nrequests_client_max": 5,
"socks": [
{
"fd": 101,
"errfd": -1,
"pid": 0,
"isClient": false
}
]
}
],
"clients": [
{
"id": 1,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 2,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
} }
],
"clients": [
{
"id": 1,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 2,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
},
"testServer1": {
"min_workers": 2,
"max_workers": 50,
"priority_workers": 5,
"max_clients": 100,
"max_anonymous_clients": 100,
"keepaliveInterval": 120,
"keepaliveCount": 5,
"next_client_id": 3,
"services": [
{
"auth": 0,
"readonly": true,
"nrequests_client_max": 2,
"socks": [
{
"fd": 100,
"errfd": -1,
"pid": 0,
"isClient": false
}
]
},
{
"auth": 2,
"readonly": false,
"nrequests_client_max": 5,
"socks": [
{
"fd": 101,
"errfd": -1,
"pid": 0,
"isClient": false
}
]
}
],
"clients": [
{
"id": 1,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 2,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
} }
}
} }

View File

@ -1,68 +1,68 @@
{ {
"servers": { "servers": {
"testServer0": { "testServer0": {
"min_workers": 10, "min_workers": 10,
"max_workers": 50, "max_workers": 50,
"priority_workers": 5, "priority_workers": 5,
"max_clients": 100, "max_clients": 100,
"max_anonymous_clients": 10, "max_anonymous_clients": 10,
"keepaliveInterval": 120, "keepaliveInterval": 120,
"keepaliveCount": 5, "keepaliveCount": 5,
"next_client_id": 3, "next_client_id": 3,
"services": [ "services": [
{ {
"auth": 0, "auth": 0,
"readonly": true, "readonly": true,
"nrequests_client_max": 2, "nrequests_client_max": 2,
"socks": [ "socks": [
{ {
"fd": 100, "fd": 100,
"errfd": -1, "errfd": -1,
"pid": 0, "pid": 0,
"isClient": false "isClient": false
} }
] ]
}, },
{ {
"auth": 2, "auth": 2,
"readonly": false, "readonly": false,
"nrequests_client_max": 5, "nrequests_client_max": 5,
"socks": [ "socks": [
{ {
"fd": 101, "fd": 101,
"errfd": -1, "errfd": -1,
"pid": 0, "pid": 0,
"isClient": false "isClient": false
} }
] ]
}
],
"clients": [
{
"id": 1,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 2,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
} }
],
"clients": [
{
"id": 1,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 2,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
} }
}
} }

View File

@ -1,68 +1,68 @@
{ {
"servers": { "servers": {
"testServer0": { "testServer0": {
"min_workers": 10, "min_workers": 10,
"max_workers": 50, "max_workers": 50,
"priority_workers": 5, "priority_workers": 5,
"max_clients": 100, "max_clients": 100,
"max_anonymous_clients": 10, "max_anonymous_clients": 10,
"keepaliveInterval": 120, "keepaliveInterval": 120,
"keepaliveCount": 5, "keepaliveCount": 5,
"next_client_id": 5, "next_client_id": 5,
"services": [ "services": [
{ {
"auth": 0, "auth": 0,
"readonly": true, "readonly": true,
"nrequests_client_max": 2, "nrequests_client_max": 2,
"socks": [ "socks": [
{ {
"fd": 100, "fd": 100,
"errfd": -1, "errfd": -1,
"pid": 0, "pid": 0,
"isClient": false "isClient": false
} }
] ]
}, },
{ {
"auth": 2, "auth": 2,
"readonly": false, "readonly": false,
"nrequests_client_max": 5, "nrequests_client_max": 5,
"socks": [ "socks": [
{ {
"fd": 101, "fd": 101,
"errfd": -1, "errfd": -1,
"pid": 0, "pid": 0,
"isClient": false "isClient": false
} }
] ]
}
],
"clients": [
{
"id": 2,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 3,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
} }
],
"clients": [
{
"id": 2,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 3,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
} }
}
} }

View File

@ -1,70 +1,70 @@
{ {
"servers": { "servers": {
"testServer0": { "testServer0": {
"min_workers": 10, "min_workers": 10,
"max_workers": 50, "max_workers": 50,
"priority_workers": 5, "priority_workers": 5,
"max_clients": 100, "max_clients": 100,
"max_anonymous_clients": 10, "max_anonymous_clients": 10,
"keepaliveInterval": 120, "keepaliveInterval": 120,
"keepaliveCount": 5, "keepaliveCount": 5,
"next_client_id": 3, "next_client_id": 3,
"services": [ "services": [
{ {
"auth": 0, "auth": 0,
"readonly": true, "readonly": true,
"nrequests_client_max": 2, "nrequests_client_max": 2,
"socks": [ "socks": [
{ {
"fd": 100, "fd": 100,
"errfd": -1, "errfd": -1,
"pid": 0, "pid": 0,
"isClient": false "isClient": false
} }
] ]
}, },
{ {
"auth": 2, "auth": 2,
"readonly": false, "readonly": false,
"nrequests_client_max": 5, "nrequests_client_max": 5,
"socks": [ "socks": [
{ {
"fd": 101, "fd": 101,
"errfd": -1, "errfd": -1,
"pid": 0, "pid": 0,
"isClient": false "isClient": false
} }
] ]
}
],
"clients": [
{
"id": 1,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"conn_time": 1234567890,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 2,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"conn_time": 1234567890,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
} }
],
"clients": [
{
"id": 1,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"conn_time": 1234567890,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 2,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"conn_time": 1234567890,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
} }
}
} }

View File

@ -1,68 +1,68 @@
{ {
"servers": { "servers": {
"testServer0": { "testServer0": {
"min_workers": 10, "min_workers": 10,
"max_workers": 50, "max_workers": 50,
"priority_workers": 5, "priority_workers": 5,
"max_clients": 100, "max_clients": 100,
"max_anonymous_clients": 100, "max_anonymous_clients": 100,
"keepaliveInterval": 120, "keepaliveInterval": 120,
"keepaliveCount": 5, "keepaliveCount": 5,
"next_client_id": 3, "next_client_id": 3,
"services": [ "services": [
{ {
"auth": 0, "auth": 0,
"readonly": true, "readonly": true,
"nrequests_client_max": 2, "nrequests_client_max": 2,
"socks": [ "socks": [
{ {
"fd": 100, "fd": 100,
"errfd": -1, "errfd": -1,
"pid": 0, "pid": 0,
"isClient": false "isClient": false
} }
] ]
}, },
{ {
"auth": 2, "auth": 2,
"readonly": false, "readonly": false,
"nrequests_client_max": 5, "nrequests_client_max": 5,
"socks": [ "socks": [
{ {
"fd": 101, "fd": 101,
"errfd": -1, "errfd": -1,
"pid": 0, "pid": 0,
"isClient": false "isClient": false
} }
] ]
}
],
"clients": [
{
"id": 1,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 2,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
} }
],
"clients": [
{
"id": 1,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 2,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
} }
}
} }

View File

@ -1,69 +1,69 @@
{ {
"servers": { "servers": {
"testServer0": { "testServer0": {
"min_workers": 10, "min_workers": 10,
"max_workers": 50, "max_workers": 50,
"priority_workers": 5, "priority_workers": 5,
"max_clients": 100, "max_clients": 100,
"max_anonymous_clients": 100, "max_anonymous_clients": 100,
"keepaliveInterval": 120, "keepaliveInterval": 120,
"keepaliveCount": 5, "keepaliveCount": 5,
"next_client_id": 3, "next_client_id": 3,
"mdnsGroupName": "libvirtTest", "mdnsGroupName": "libvirtTest",
"services": [ "services": [
{ {
"auth": 0, "auth": 0,
"readonly": true, "readonly": true,
"nrequests_client_max": 2, "nrequests_client_max": 2,
"socks": [ "socks": [
{ {
"fd": 100, "fd": 100,
"errfd": -1, "errfd": -1,
"pid": 0, "pid": 0,
"isClient": false "isClient": false
} }
] ]
}, },
{ {
"auth": 2, "auth": 2,
"readonly": false, "readonly": false,
"nrequests_client_max": 5, "nrequests_client_max": 5,
"socks": [ "socks": [
{ {
"fd": 101, "fd": 101,
"errfd": -1, "errfd": -1,
"pid": 0, "pid": 0,
"isClient": false "isClient": false
} }
] ]
}
],
"clients": [
{
"id": 1,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 2,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
} }
],
"clients": [
{
"id": 1,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 2,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
} }
}
} }

View File

@ -1,132 +1,132 @@
{ {
"servers": { "servers": {
"testServer0": { "testServer0": {
"min_workers": 10, "min_workers": 10,
"max_workers": 50, "max_workers": 50,
"priority_workers": 5, "priority_workers": 5,
"max_clients": 100, "max_clients": 100,
"max_anonymous_clients": 100, "max_anonymous_clients": 100,
"keepaliveInterval": 120, "keepaliveInterval": 120,
"keepaliveCount": 5, "keepaliveCount": 5,
"next_client_id": 3, "next_client_id": 3,
"services": [ "services": [
{ {
"auth": 0, "auth": 0,
"readonly": true, "readonly": true,
"nrequests_client_max": 2, "nrequests_client_max": 2,
"socks": [ "socks": [
{ {
"fd": 100, "fd": 100,
"errfd": -1, "errfd": -1,
"pid": 0, "pid": 0,
"isClient": false "isClient": false
} }
] ]
},
{
"auth": 2,
"readonly": false,
"nrequests_client_max": 5,
"socks": [
{
"fd": 101,
"errfd": -1,
"pid": 0,
"isClient": false
}
]
}
],
"clients": [
{
"id": 1,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 2,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
}, },
"testServer1": { {
"min_workers": 2, "auth": 2,
"max_workers": 50, "readonly": false,
"priority_workers": 5, "nrequests_client_max": 5,
"max_clients": 100, "socks": [
"max_anonymous_clients": 100, {
"keepaliveInterval": 120, "fd": 101,
"keepaliveCount": 5, "errfd": -1,
"next_client_id": 3, "pid": 0,
"services": [ "isClient": false
{ }
"auth": 0, ]
"readonly": true,
"nrequests_client_max": 2,
"socks": [
{
"fd": 100,
"errfd": -1,
"pid": 0,
"isClient": false
}
]
},
{
"auth": 2,
"readonly": false,
"nrequests_client_max": 5,
"socks": [
{
"fd": 101,
"errfd": -1,
"pid": 0,
"isClient": false
}
]
}
],
"clients": [
{
"id": 1,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 2,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
} }
],
"clients": [
{
"id": 1,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 2,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
},
"testServer1": {
"min_workers": 2,
"max_workers": 50,
"priority_workers": 5,
"max_clients": 100,
"max_anonymous_clients": 100,
"keepaliveInterval": 120,
"keepaliveCount": 5,
"next_client_id": 3,
"services": [
{
"auth": 0,
"readonly": true,
"nrequests_client_max": 2,
"socks": [
{
"fd": 100,
"errfd": -1,
"pid": 0,
"isClient": false
}
]
},
{
"auth": 2,
"readonly": false,
"nrequests_client_max": 5,
"socks": [
{
"fd": 101,
"errfd": -1,
"pid": 0,
"isClient": false
}
]
}
],
"clients": [
{
"id": 1,
"auth": 1,
"readonly": true,
"nrequests_max": 15,
"sock": {
"fd": 102,
"errfd": -1,
"pid": -1,
"isClient": true
}
},
{
"id": 2,
"auth": 2,
"readonly": true,
"nrequests_max": 66,
"sock": {
"fd": 103,
"errfd": -1,
"pid": -1,
"isClient": true
}
}
]
} }
}
} }