<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Topper's Blog &#187; multithread</title>
	<atom:link href="http://blog.toppingdesign.com/tag/multithread/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.toppingdesign.com</link>
	<description>Usability, Information Management, Rails, Javascript &#38; (oh no) Web 2.0</description>
	<lastBuildDate>Tue, 24 Jan 2012 19:52:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Rails thread safety</title>
		<link>http://blog.toppingdesign.com/2010/01/27/rails-thread-safety/</link>
		<comments>http://blog.toppingdesign.com/2010/01/27/rails-thread-safety/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 22:38:07 +0000</pubDate>
		<dc:creator>Topper</dc:creator>
				<category><![CDATA[General Web work - technical]]></category>
		<category><![CDATA[multithread]]></category>
		<category><![CDATA[multithreading]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[rubyonrails]]></category>
		<category><![CDATA[threadsafe]]></category>
		<category><![CDATA[threadsafety]]></category>

		<guid isPermaLink="false">http://blog.toppingdesign.com/2010/01/27/rails-thread-safety/</guid>
		<description><![CDATA[Calling Rails.configuration.threadsafe! at the end of your environment.rb does *not* turn on multi-threading. Adding config.threadsafe! to your individual environments (like production.rb) *does* turn on multi-threading. You can also check that your multi-threading is active by seeing if ActionController::Base.allow_concurrency is true. We add ::RAILS_DEFAULT_LOGGER.fatal { &#8220;Mulithreading is active? #{ActionController::Base.allow_concurrency}&#8221; } to the end of our environment.rb [...]]]></description>
			<content:encoded><![CDATA[<p>Calling Rails.configuration.threadsafe! at the end of your environment.rb does *not* turn on multi-threading.  Adding config.threadsafe! to your individual environments (like production.rb) *does* turn on multi-threading.</p>
<p>You can also check that your multi-threading is active by seeing if ActionController::Base.allow_concurrency is true.</p>
<p>We add ::RAILS_DEFAULT_LOGGER.fatal { &#8220;Mulithreading is active? #{ActionController::Base.allow_concurrency}&#8221; }<br />
to the end of our environment.rb to let us know that it worked.</p>
 <img src="http://blog.toppingdesign.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=180" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.toppingdesign.com/2010/01/27/rails-thread-safety/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

