bug fix
This commit is contained in:
parent
4a9ebf55ce
commit
c7e3f0ac7b
3
.gitignore
vendored
3
.gitignore
vendored
@ -4,4 +4,5 @@ session.json
|
||||
traceback.json
|
||||
test.py
|
||||
tmp
|
||||
tmp/*
|
||||
tmp/*
|
||||
testfiles/*
|
@ -12,7 +12,7 @@ RUN apt-get update && \
|
||||
COPY ./requirements.txt /app/requirements.txt
|
||||
COPY ./ffmpeg_python-0.2.0-py3-none-any.whl /app/ffmpeg_python-0.2.0-py3-none-any.whl
|
||||
|
||||
RUN pip3 install -r /app/requirements.txt
|
||||
RUN pip3 install ffmpeg_python-0.2.0-py3-none-any.whl
|
||||
RUN pip3 install -r /app/requirements.txt
|
||||
|
||||
EXPOSE 50051
|
||||
EXPOSE 50051
|
@ -16,6 +16,7 @@ grpclog = logging.getLogger("grpc")
|
||||
grpclog.setLevel(level=logging.INFO)
|
||||
|
||||
# call account info / login
|
||||
# may race condition
|
||||
cache_accinfo = TTLCache(maxsize=1, ttl=GRPC_ACCINFO_CACHE)
|
||||
@cached(cache_accinfo)
|
||||
def call_IG_account_info():
|
||||
|
@ -1,3 +1,4 @@
|
||||
moviepy==1.0.3
|
||||
instagrapi
|
||||
sqlalchemy
|
||||
sqlalchemy_utils
|
||||
|
Loading…
Reference in New Issue
Block a user