Skip to content

Commit

Permalink
Addressing issue #341
Browse files Browse the repository at this point in the history
About:
- handling kill code in TCP iface
- Update changelog (v0.8.1)
  • Loading branch information
alphaville committed Mar 26, 2024
1 parent d9c6dde commit 4eff6ad
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions open-codegen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

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



## [0.8.1] - Unreleased

### Changed

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

## [0.8.0] - 2024-03-20

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

[0.8.1]: https://github.com/alphaville/optimization-engine/compare/opengen-0.8.0...opengen-0.8.1
[0.8.0]: https://github.com/alphaville/optimization-engine/compare/opengen-0.7.1...opengen-0.8.0
[0.7.1]: https://github.com/alphaville/optimization-engine/compare/opengen-0.7.0...opengen-0.7.1
[0.7.0]: https://github.com/alphaville/optimization-engine/compare/opengen-0.6.13...opengen-0.7.0
Expand Down
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 4eff6ad

Please sign in to comment.