This file contains hidden or 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
| #!/usr/bin/env escript | |
| %% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*- | |
| %% Copyright 2013 Ulf Wiger <[email protected]> | |
| %% License: http://opensource.org/licenses/MIT | |
| main(Args) -> | |
| Options = check_args(Args), | |
| start_dist(Options), | |
| Result = rpc(Options), |
This file contains hidden or 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
| /* | |
| * async_nif: An async thread-pool layer for Erlang's NIF API | |
| * | |
| * Copyright (c) 2012 Basho Technologies, Inc. All Rights Reserved. | |
| * Author: Gregory Burd <[email protected]> <[email protected]> | |
| * | |
| * This file is provided to you under the Apache License, Version 2.0 (the | |
| * "License"); you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at: | |
| * |
This file contains hidden or 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
| # References: | |
| # http://blog.mixu.net/2011/08/13/nginx-websockets-ssl-and-socket-io-deployment/ | |
| # http://blog.exceliance.fr/2012/09/10/how-to-get-ssl-with-haproxy-getting-rid-of-stunnel-stud-nginx-or-pound/ | |
| # | |
| global | |
| nbproc 2 | |
| maxconn 16384 | |
| defaults |