Skip to content

Commit

Permalink
Merge pull request #19 from clowder-framework/fix-daemon
Browse files Browse the repository at this point in the history
fix error in daemon logic
  • Loading branch information
robkooper authored Oct 2, 2020
2 parents 325d1d6 + 83e1653 commit d08ea19
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## 2.3.3 - 2020-10-02

### Fixed
- Thread of heartbeat was set as daemon after start.

## 2.3.2 - 2020-09-24

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion pyclowder/connectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,8 +877,8 @@ def start_thread(self, json_body):
}
"""
self.thread = threading.Thread(target=self._process_message, args=(json_body,))
self.thread.start()
self.thread.setDaemon(True)
self.thread.start()

def is_finished(self):
with self.lock:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def description():


setup(name='pyclowder',
version='2.3.2',
version='2.3.3',
packages=find_packages(),
description='Python SDK for the Clowder Data Management System',
long_description=description(),
Expand Down

0 comments on commit d08ea19

Please sign in to comment.