Skip to content

Bug with async mode is always true #89

@SaenkoDmitry

Description

@SaenkoDmitry

Hello,
bug found in version 'org.audit4j:audit4j-core:2.5.0'

Problem:
It is not possible to set sync mode because async always is true

Solution:
It is needed to change line 53-54:

options.contains(ASYNC_OPTION);
async = true;

to

if (options.contains(ASYNC_OPTION))
  async = true;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions