tests/wamp/project_files/wampconf.json
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Thu, 07 Jun 2018 13:45:35 +0300
changeset 2173 976841968d74
parent 1444 c162f1b0fbac
child 2195 2cef75d036c2
permissions -rw-r--r--
Add retain basic implementation on GNU/Linux

Retain is saved in file and backup of this file is done every time.
File isn't saved on every PLC cycle to avoid high I/O load.
By default, retain is saved every second and on PLC stop/shutdown.
It's possible to override retain flush period by using CFLAGS option
in project's settings. For example, for 0.5 seconds period
use "-DFILE_RETAIN_SAVE_PERIOD_S=0.5".
1444
c162f1b0fbac Added forgotten wampconf.json in tests/wamp
Edouard Tisserant
parents:
diff changeset
     1
{
c162f1b0fbac Added forgotten wampconf.json in tests/wamp
Edouard Tisserant
parents:
diff changeset
     2
    "url":"ws://127.0.0.1:8888",
c162f1b0fbac Added forgotten wampconf.json in tests/wamp
Edouard Tisserant
parents:
diff changeset
     3
    "realm":"Automation",
c162f1b0fbac Added forgotten wampconf.json in tests/wamp
Edouard Tisserant
parents:
diff changeset
     4
    "ID":"wamptest",
c162f1b0fbac Added forgotten wampconf.json in tests/wamp
Edouard Tisserant
parents:
diff changeset
     5
    "password":"1234567890",
c162f1b0fbac Added forgotten wampconf.json in tests/wamp
Edouard Tisserant
parents:
diff changeset
     6
    "key":"ABCDEFGHIJ"
c162f1b0fbac Added forgotten wampconf.json in tests/wamp
Edouard Tisserant
parents:
diff changeset
     7
}