General Technical Discussions for Service

Get Involved. Join the Conversation.

Topic

    Geetha Amrutha
    Thread Duplicacy on commit
    Topic posted June 7, 2019 by Geetha AmruthaBronze Trophy: 5,000+ Points 
    26 Views, 1 Comment
    Title:
    Thread Duplicacy on commit
    Summary:
    Connect PHP API commit causes Thread Duplicacy
    Content:

    Hi,

    When I run the following code, the Thread is written twice to the incident. Not sure why.

    But, when I remove the RNCPHP\ConnectAPI::commit() statement, the thread is written once once.

    Anyone has any idea why this is happening? How to avoid this without removing the commit statement.

    Appreciate your help.

    Thanks,
    Geetha

    Version:
    19A
    Code Snippet:

    Comment

     

    • Lakshay Bhalla

      Hi Geetha,

      Whenever we use Any API such as Connect PHP or REST, Commit statement is not necessary. It is already implied by the API.

      Thanks,

      -Lakshay