Skip to content

Commit

Permalink
Merge pull request #342 from alphaville/hotfix/341-tcp-server-warning
Browse files Browse the repository at this point in the history
Getting rid of warning in TCP iface
  • Loading branch information
alphaville authored Oct 15, 2024
2 parents 7af599b + 4a97cad commit d302884
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
13 changes: 13 additions & 0 deletions open-codegen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

Note: This is the Changelog file of `opengen` - the Python interface of OpEn




## [0.9.1] - 2024-10-14

### Changed

- Handling kill code in TCP server interface to get rid of warning


## [0.9.0] - 2024-08-15

### Added
Expand All @@ -24,6 +34,7 @@ Note: This is the Changelog file of `opengen` - the Python interface of OpEn
* Updated GitHub Actions to use the macos-latest runner
* Updated GitHub Actions to use Python3.12 (required for above)


## [0.8.0] - 2024-03-20

### Added
Expand Down Expand Up @@ -202,6 +213,8 @@ Note: This is the Changelog file of `opengen` - the Python interface of OpEn
* Project-specific `tcp_iface` TCP interface
* Fixed `lbfgs` typo


[0.9.1]: https://github.com/alphaville/optimization-engine/compare/opengen-0.9.0...opengen-0.9.1
[0.9.0]: https://github.com/alphaville/optimization-engine/compare/opengen-0.8.1...opengen-0.9.0
[0.8.1]: https://github.com/alphaville/optimization-engine/compare/v0.9.0...opengen-0.8.1
[0.8.1]: https://github.com/alphaville/optimization-engine/compare/v0.9.0...opengen-0.8.1
Expand Down
2 changes: 1 addition & 1 deletion open-codegen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.0
0.9.1
4 changes: 2 additions & 2 deletions open-codegen/opengen/templates/tcp/tcp_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ fn run_server(tcp_config: &TcpServerConfiguration) {
&mut p,
&mut stream);
}
ClientRequest::Kill(_) => {
info!("Quitting on request");
ClientRequest::Kill(kill_code) => {
info!("Quitting on request (kill code: {})", kill_code);
break;
}
ClientRequest::Ping(ping_code) => {
Expand Down

0 comments on commit d302884

Please sign in to comment.