This repository was archived by the owner on Oct 5, 2021. It is now read-only.
File tree 4 files changed +9
-3
lines changed
4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -11,3 +11,4 @@ coverage
11
11
tmp
12
12
log
13
13
config /attribute-map.yml
14
+ .idea /
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ Change Log
3
3
4
4
All notable changes to this project will be documented in this file using [ Semantic Versioning] ( http://semver.org/ ) .
5
5
6
+ ## [ 0.4.8] - 2020-01-20
7
+ ### Fixed
8
+ - [ Fix issue with thread refresh_schema] ( https://github.com/lumoslabs/aleph/issues/103 )
9
+
6
10
## [ 0.4.7] - 2020-01-17
7
11
### Fixed
8
12
- Fix issue with schema cache
Original file line number Diff line number Diff line change 1
1
Gem ::Specification . new do |s |
2
2
s . name = 'aleph_analytics'
3
- s . version = '0.4.7 '
4
- s . date = '2020-01-17 '
3
+ s . version = '0.4.8 '
4
+ s . date = '2020-01-20 '
5
5
s . summary = 'Redshift/Snowflake analytics platform'
6
6
s . description = 'The best way to develop and share queries/investigations/results within an analytics team'
7
7
s . authors = [ 'Andrew Xue' , 'Rob Froetscher' , 'Joyce Lau' ]
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ def initialize(role)
27
27
28
28
Rails . logger . info ( "Start schema refresher thread for #{ @role } " )
29
29
@refresher_thread = Thread . new { schema_refresher }
30
+ @refresher_thread . abort_on_exception = true
30
31
end
31
32
32
33
def schemas
@@ -61,7 +62,7 @@ def retrieve
61
62
def schema_refresher
62
63
loop do
63
64
refresh_schema
64
- sleep ( SCHEMA_REFRESH_INTERVAL )
65
+ sleep ( SCHEMA_REFRESH_INTERVAL . to_i )
65
66
end
66
67
end
67
68
You can’t perform that action at this time.
0 commit comments