forked from drsharp/spawner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCHANGELOG
68 lines (53 loc) · 2.57 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
v0.1 - 2007/09/13
initial version
--------------------------------------------------
v0.2 - 2007/09/28
* return PID of the child process
* added ":detach => false" option
--------------------------------------------------
v0.3 - 2007/10/15
* added ':method => :thread' for threaded spawns
* removed ':detach => false' option in favor of more generic implementation
* added ability to set configuration of the form 'Spawn::method :thread'
* added patch to ActiveRecord::Base to allow for more efficient reconnect in child processes
* added monkey patch for http://dev.rubyonrails.org/ticket/7579
* added wait() method to wait for spawned code blocks
* don't allow threading if allow_concurrency=false
--------------------------------------------------
v0.4 - 2008/1/26
* default to :thread on windows, still :fork on all other platforms
* raise exception when used with :method=>:true and allow_concurrency != true
--------------------------------------------------
v0.5 - 2008/3/1
* also default to :thread on JRuby (java)
* added new :method => :yield which doesn't fork or thread, this is useful for testing
* fixed problem with connections piling up on PostgreSQL
--------------------------------------------------
v0.6 - 2008/04/21
* only apply clear_reloadable_connections patch on Rails 1.x (7579 fixed in Rails 2.x)
* made it more responsive in more environments by disconnecting from the listener socket in the forked process
--------------------------------------------------
v0.7 - 2008/04/24
* more generic mechanism for closing resources after fork
* check for existence of Mongrel before patching it
--------------------------------------------------
v0.8 - 2008/05/02
* call exit! within the ensure block so that at_exit handlers aren't called on exceptions
* set logger from RAILS_DEFAULT_LOGGER if available, else STDERR
--------------------------------------------------
v0.9 - 2008/05/11
* added ability to set nice level for child process
--------------------------------------------------
v1.0 - 2010/10/09
* merged edged to master, let's call this version 1.0
--------------------------------------------------
v1.1 - 2011/11/03
* Forked from tra. Renamed to Spawner. Starting to clean up
--------------------------------------------------
v2.0.0 - 2012/02/06
* Integrated rfc2822's patch merging.
* Changed the API to be Module-explicit: Spawner.spawn
* Added run() as alias. Can call as: Spawner.run
* wait() and alive?() updated to be: Spawner.wait(pid) and Spawner.alive?(pid)
* Added integration specs in spec/
* Due to the total change in how you would call Spawner, I'm making this v2.0.0