Skip to content

Commit

Permalink
Update the DNET property
Browse files Browse the repository at this point in the history
  • Loading branch information
byeonggiljun committed Oct 19, 2024
1 parent 38041be commit 83bd58f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ts-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
if: ${{ runner.os == 'macOS' || runner.os == 'Linux' }}
- name: Perform TypeScript tests
run: |
./gradlew targetTest -Ptarget=TypeScript -Druntime="git://github.com/lf-lang/reactor-ts.git#dnet-ad-hoc"
./gradlew targetTest -Ptarget=TypeScript -Druntime="git://github.com/lf-lang/reactor-ts.git#master"
- name: Report to CodeCov
uses: ./.github/actions/report-code-coverage
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ private String getRtiCommand(List<FederateInstance> federates, boolean isRemote)
if (targetConfig.getOrDefault(TracingProperty.INSTANCE).isEnabled()) {
commands.add(" -t \\");
}
if (targetConfig.getOrDefault(DNETProperty.INSTANCE)) {
if (!targetConfig.getOrDefault(DNETProperty.INSTANCE)) {
commands.add(" -d \\");
}
commands.addAll(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
package org.lflang.target.property;

/**
* If true, the RTI sends DNET signals during the execution of federation. The default is ture (for
* now, for testing).
* @brief Target property turning on or off the DNET signal optimization.
*
* If this target property is true, the RTI sends DNET (downstream next event tag) signals to an upstream federate
* to tell the federate that sending LTC and NET signals with tags less than the specified value is unnecessary.
* The default is true.
*/
public final class DNETProperty extends BooleanProperty {

Expand Down

0 comments on commit 83bd58f

Please sign in to comment.