> On 27 Nov 2020, at 07.06, Afriyie Abraham Kwabena <afriyie.abra...@gmail.com> 
> wrote:
> 
> Hi,
> 
> Am experiencing data race warning with my pollingworker function below even 
> though when i build with the  -race flag i do not get any error. Any help?
> 

Usually when you got data race warning it will print the line that cause read 
and write race condition. Pay attention to both lines and I think you will find 
the cause.

It's kind of hard to figure it out only through a single function. It could be 
in config.Conf or in function that manipulate idtime outside the pollingworker.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/E114D8FD-9EC8-49B3-A7B0-866BA87023EA%40gmail.com.

Reply via email to