Skip to content

Commit

Permalink
Merge pull request #28 from SoftwareAG/feature-new-samples
Browse files Browse the repository at this point in the history
division
  • Loading branch information
ck-c8y authored May 11, 2024
2 parents 12d811c + 8112216 commit db43df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repository/blocks/EnhancedHttpOutputBlock.mon
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ event EnhancedHTTPOutput {

/** Handle the HTTP response.*/
action handleResponse(Response res) {
$base.createTimer(($parameters.timeout/1000), res); // Creates a timer with the specified duration.
$base.createTimer(($parameters.timeout.toFloat() / 1000.0), res); // Creates a timer with the specified duration.

if not res.isSuccess() {
log "Unable to connect " +$parameters.host+". Error code: " + res.statusMessage at WARN;
Expand Down

0 comments on commit db43df6

Please sign in to comment.