mirror of
https://github.com/ManyakRus/starter.git
synced 2025-11-26 23:10:42 +02:00
сделал postgres_stek
This commit is contained in:
@@ -110,8 +110,8 @@ func Connect_err(Connection connections.Connection) error {
|
||||
err = DB.Ping()
|
||||
}
|
||||
|
||||
mutex_Connect.Lock() //race
|
||||
defer mutex_Connect.Unlock()
|
||||
//mutex_Connect.Lock() //race
|
||||
//defer mutex_Connect.Unlock()
|
||||
|
||||
MapConnection[Connection.ID] = Connection
|
||||
MapConn[Connection.ID] = Conn
|
||||
|
||||
Reference in New Issue
Block a user