Remove client for now.

This commit is contained in:
FireMasterK 2021-02-24 16:02:49 +05:30
parent 9275e01c5a
commit ec2d9a38cd
No known key found for this signature in database
GPG key ID: 8DFF5DD33E93DB58

View file

@ -11,7 +11,6 @@ import org.schabi.newpipe.extractor.StreamingService;
import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectMapper;
import com.mongodb.client.MongoClient; import com.mongodb.client.MongoClient;
import com.mongodb.client.MongoClients;
public class Constants { public class Constants {
@ -41,7 +40,7 @@ public class Constants {
PORT = Integer.parseInt(prop.getProperty("PORT")); PORT = Integer.parseInt(prop.getProperty("PORT"));
PROXY_PART = prop.getProperty("PROXY_PART"); PROXY_PART = prop.getProperty("PROXY_PART");
mongoClient = MongoClients.create(prop.getProperty("MONGO_URI")); mongoClient = null/* MongoClients.create(prop.getProperty("MONGO_URI")) */;
} catch (Exception e) { } catch (Exception e) {
throw new RuntimeException(e); throw new RuntimeException(e);
} }