You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/local/python3/lib/python3.11/site-packages/pymysql/connections.py:846: UserWarning: Previous unbuffered result was left incomplete
warnings.warn("Previous unbuffered result was left incomplete")
感觉与这个有关系,有设置了REQUEST_FILTER_SETTING 为 filter_type=3
同时在入库前,有进行一行mysql find查询hash,但是最后还是会重复,从重复的入库时间来看,在同秒进入的。
`hash = torrent['info_hash']
sql = f"SELECT `t_id`,`t_hash`,`t_douban_id`,`t_imdb_id` FROM `mv_torrent` WHERE t_hash='{hash}'"
dbid = self.db.find(sql, 1)
if not dbid and hash:
item = MvTorrentItem()
# item.t_add_time = tools.get_current_date()
item.t_update_time = tools.get_current_date()`
/usr/local/python3/lib/python3.11/site-packages/pymysql/connections.py:846: UserWarning: Previous unbuffered result was left incomplete
warnings.warn("Previous unbuffered result was left incomplete")
感觉与这个有关系,有设置了REQUEST_FILTER_SETTING 为 filter_type=3
同时在入库前,有进行一行mysql find查询hash,但是最后还是会重复,从重复的入库时间来看,在同秒进入的。
`hash = torrent['info_hash']
是不是我再加一个ITEM_FILTER_ENABLE=True设置能解决?设置好__unique_key__
The text was updated successfully, but these errors were encountered: