This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream app_server { | |
ip_hash; | |
server app_react:3000 max_fails=3 fail_timeout=30s; | |
} | |
upstream api_server { | |
ip_hash; | |
server api_feathers:3040 max_fails=3 fail_timeout=30s; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collections::Map<CSI::String, CSI::String> params = m_server->StartupParameters(); | |
Collections::Map<CSI::String, CSI::String>::iterator piter; | |
for (piter = params.begin(); piter != params.end(); piter++) | |
{ | |
logger.Info.Format("{0} : {1}", piter->first, piter->second); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// In javascript | |
var params = { | |
"ViewName" : "MyView", | |
"Interacting" : true | |
}; | |
pureweb.getClient().queueCommand('SetInteracting', params, function (sender, args) { | |
}); |