commit b873454819df6ef35b22b92445bfb8675b7ac7c1
Author: Zhongyue Luo <email address hidden>
Date: Tue May 7 17:25:34 2013 +0900
Added convenience APIs for lockutils
The lock_file_prefix for each project doesn't need to be configurable or
frequently changed. This patch provides a convenience API which returns
a partial object of the synchronized decorator to avoid passing the prefix
each time locks are used.
The set_defaults method is also provided to change the default value of
lock_path when needed.
Reviewed: https:/ /review. openstack. org/28399 github. com/openstack/ oslo-incubator/ commit/ b873454819df6ef 35b22b92445bfb8 675b7ac7c1
Committed: http://
Submitter: Jenkins
Branch: master
commit b873454819df6ef 35b22b92445bfb8 675b7ac7c1
Author: Zhongyue Luo <email address hidden>
Date: Tue May 7 17:25:34 2013 +0900
Added convenience APIs for lockutils
The lock_file_prefix for each project doesn't need to be configurable or
frequently changed. This patch provides a convenience API which returns
a partial object of the synchronized decorator to avoid passing the prefix
each time locks are used.
The set_defaults method is also provided to change the default value of
lock_path when needed.
Fixes bug #1065524
Change-Id: I7b67f0a482da4b e6d53a70db5bbd2 2dc91bdc10c