search for: get_data_from_proxi

Displaying 1 result from an estimated 1 matches for "get_data_from_proxi".

Did you mean: get_data_from_proxy
2006 Sep 01
11
mongrel thread safety and global variables
In environment.rb file, I initialize a connection to some data vending servers, through TCP sockets. The connection object is global and hence the code: #environment.rb $generic_connection = ConnectionClass.instance (singleton class) $generic_connection.connect_me( this call will make the connection) The above approach is to make sure that, only one connection is made to the data vending