-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed tight spin lock at poll which can result in 100% CPU if no new messages * Fixed leak in processor object use * Updated travis to also publish to local gh-pages if on SolaceDev * Fine-tuned spin turns for poll
- Loading branch information
Showing
4 changed files
with
37 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,4 +27,20 @@ after_success: | |
git remote add origin-pages https://${GH_TOKEN}@github.com/SolaceProducts/pubsubplus-connector-kafka-source.git > /dev/null 2>&1; | ||
git push --quiet --set-upstream origin-pages gh-pages; | ||
echo "Updated and pushed GH pages!"; | ||
elif [ "$TRAVIS_PULL_REQUEST" = "false" ] && ! [ $(echo $TRAVIS_REPO_SLUG | grep "SolaceProducts") ]; then | ||
git config --global user.email "[email protected]"; | ||
git config --global user.name "travis-ci"; | ||
mkdir gh-pages; # Now update gh-pages | ||
git clone --quiet --branch=gh-pages https://${GH_TOKEN}@github.com/$TRAVIS_REPO_SLUG gh-pages > /dev/null 2>&1; | ||
rm gh-pages/downloads/pubsubplus-connector-kafka-source* | ||
mv build/distributions/pubsubplus-connector-kafka-source* gh-pages/downloads | ||
cd gh-pages; | ||
pushd downloads | ||
cp index.template index.html; FILENAME=`find . | grep *.zip | cut -d'/' -f2 | sed 's/.\{4\}$//'`; sed -i "s/CONNECTOR_NAME/$FILENAME/g" index.html; | ||
popd; | ||
git add -f .; | ||
git commit -m "Latest connector distribution on successful travis build $TRAVIS_BUILD_NUMBER auto-pushed to gh-pages"; | ||
git remote add origin-pages https://${GH_TOKEN}@github.com/$TRAVIS_REPO_SLUG.git > /dev/null 2>&1; | ||
git push --quiet --set-upstream origin-pages gh-pages; | ||
echo "Updated and pushed GH pages!"; | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version=2.0.1 | ||
version=2.0.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ public class VersionUtil { | |
*/ | ||
public static String getVersion() { | ||
|
||
return "2.0.1"; | ||
return "2.0.2"; | ||
|
||
} | ||
|
||
|