Rewrite the notify-keyspace-events option. */
| 1459 | |
| 1460 | /* Rewrite the notify-keyspace-events option. */ |
| 1461 | void rewriteConfigNotifykeyspaceeventsOption(struct rewriteConfigState *state) { |
| 1462 | int force = server.notify_keyspace_events != 0; |
| 1463 | char *option = "notify-keyspace-events"; |
| 1464 | sds line, flags; |
| 1465 | |
| 1466 | flags = keyspaceEventsFlagsToString(server.notify_keyspace_events); |
| 1467 | line = sdsnew(option); |
| 1468 | line = sdscatlen(line, " ", 1); |
| 1469 | line = sdscatrepr(line, flags, sdslen(flags)); |
| 1470 | sdsfree(flags); |
| 1471 | rewriteConfigRewriteLine(state,option,line,force); |
| 1472 | } |
| 1473 | |
| 1474 | /* Rewrite the client-output-buffer-limit option. */ |
| 1475 | void rewriteConfigClientoutputbufferlimitOption(struct rewriteConfigState *state) { |
no test coverage detected