Skip to content

Instantly share code, notes, and snippets.

@memojja
Last active November 13, 2020 15:13
Show Gist options
  • Select an option

  • Save memojja/79c6bf3e01a516d132574f30ff423d6d to your computer and use it in GitHub Desktop.

Select an option

Save memojja/79c6bf3e01a516d132574f30ff423d6d to your computer and use it in GitHub Desktop.

Revisions

  1. memojja revised this gist Nov 13, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion config.yaml
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    jdempotent:
    enable: true #if you want to disable `Jedempotent`, you can set as false
    enable: true #if you want to disable `Jdempotent`, you can set as false
    cache:
    redis:
    database: 9
  2. memojja created this gist Nov 13, 2020.
    15 changes: 15 additions & 0 deletions config.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    jdempotent:
    enable: true #if you want to disable `Jedempotent`, you can set as false
    cache:
    redis:
    database: 9
    password: pass
    sentinelHostList: localhost
    sentinelPort: 26379
    sentinelMasterName: master
    expirationTimeHour: 2
    dialTimeoutSecond: 3
    readTimeoutSecond: 3
    writeTimeoutSecond: 3
    maxRetryCount: 3
    expireTimeoutHour: 84